MathDB
2021 Alg/NT Div 1 P2 (Div 2 P5)

Source:

March 2, 2021
algebranumber theory

Problem Statement

Suppose there are 160160 pigeons and nn holes. The 11st pigeon flies to the 11st hole, the 22nd pigeon flies to the 44th hole, and so on, such that the iith pigeon flies to the (i2 mod n)(i^2\text{ mod }n)th hole, where k mod nk\text{ mod }n is the remainder when kk is divided by nn. What is minimum nn such that there is at most one pigeon per hole?
Proposed by Christina Yao