Methods of Solving Number Theory Problems