Maths Olympiad Prep

Library / HMMT November /146 of 672

HMMT November

Number theory Difficulty 4.8 AIME Find the answer

Find the minimum positive integer kk such that f(n+k)≡f(n)( mod 23)f(n+k) \equiv f(n)(\bmod 23) for all integers nn.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Note that ϕ(23)=22\phi(23)=22 and ϕ(22)=10\phi(22)=10, so if lcm⁡(23,22,10)=2530∣k\operatorname{lcm}(23,22,10)=2530 \mid k then f(n+k)≡f(n)( mod 23)f(n+k) \equiv f(n)(\bmod 23) is always true. We show that this is necessary as well. Choosing n≡0( mod 23)n \equiv 0(\bmod 23), we see that k≡0( mod 23)k \equiv 0(\bmod 23). Thus n+k≡n( mod 23)n+k \equiv n(\bmod 23) always, and we can move to the exponent by choosing nn to be a generator modulo 23 : (n+k)n+k≡nn( mod 22)(n+k)^{n+k} \equiv n^{n}(\bmod 22) The choice of nn here is independent of the choice ( mod 23)(\bmod 23) since 22 and 23 are coprime. Thus we must have again that 22∣k22 \mid k, by choosing n≡0( mod 22)n \equiv 0(\bmod 22). But then n+k≡n( mod 11)n+k \equiv n(\bmod 11) always, and we can go to the exponent modulo ϕ(11)=10\phi(11)=10 by choosing nn a generator modulo 11 : n+k≡n( mod 10)n+k \equiv n(\bmod 10) From here it follows that 10∣k10 \mid k as well. Thus 2530∣k2530 \mid k and 2530 is the minimum positive integer desired.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.