IBM interview question

Mathematical Puzzles