Some of the mathematical concepts I came across while solving problems on SPOJ ( a competitive programming forum) - represented through code.