IGATE Interview Question

Few mathematical puzzles