Necessary Mathematics for solving problems

Hi friends I want some good documentation on the necessary mathematics which is required to solve the questions in the contests. It would be great help if anyone can suggest some link on number theory and other important topics.

This link helped me a lot:
http://www.topcoder.com/tc?d1=tutorials&d2=alg_index&module=Static

Maths: