A Number Theory Problem from the Indian Math Olympiad