2023 AIME II · Question 15
Problem outline
For , let be the smallest positive multiple of which is modulo . Count the indices for which .
Show answer and methods 1 methods
Answer
363
Method 1 Halve the least residue in an eleven-step cycle
Topics usedModular inversesPeriodicity
Write , where is the unique representative in satisfying . Minimality follows because other positive representatives are larger by multiples of .
The congruences imply . Thus for even , and for odd . Equality holds exactly in the even case.
From the list is , followed by again. Positions work in every block. There are complete blocks and ten extra positions, giving .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)