Aum shri ganeshaya namah
This mantra is usually taught to children for their good education. It increases their memory power, and they become successful in their examinations. Of course, people of any age may use this mantra when taking courses in a school or university, and for success in attaining their degree.