2024 SSMO Team Round Problems/Problem 2

Revision as of 14:36, 10 September 2025 by Pinkpig (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

Find the sum of the three smallest positive integers $n$ where the last two digits of $n^4$ are $01$.

Solution

From $n^4\equiv1\pmod{100},$ we have $n^4\equiv1\pmod{4}$ and $n^4\equiv1\pmod{25}.$ From the first congruence, we have $n\equiv1\pmod{2}.$ Now, let $n\equiv5a+b\pmod{25}$ for integers $0\le a,b< 5.$ Then, \[(5a+b)^4 = 5^4a^4+4\cdot5^3a^3b+6\cdot5^2a^2b^2+4\cdot5ab^3+b^4 \equiv 20ab^3+b^4\pmod{25}\] so \[20ab^3+b^4 \equiv 1 \pmod{25}.\] Now, we will proceed using casework. Clearly, $b$ is not a multiple of 5. Now, note that \begin{align*} b\equiv1\pmod{5}&\implies a\equiv0\pmod{5},\\ b\equiv2\pmod{5}&\implies a\equiv1\pmod{5},\\ b\equiv3\pmod{5}&\implies a\equiv3\pmod{5},\text{ and }\\ b\equiv4\pmod{5}&\implies a\equiv4\pmod{5}. \end{align*} So, we have $5a+b \in \{1,7,18,24\}.$ Combining this with $n\equiv1\pmod{2},$ we find the following solutions as residues mod 50: $1,7,43,$ and $49.$ So, the answer is $1+7+43 = \boxed{51}.$

~SMO_Team