Take a test Sign in 中文
← Exercise 675 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 675
The positive integers $N$ and $N^2$ both end in the same sequence of five digits $abcde$ when written in base 10, where digit $a$ is not zero. Find the three-digit number $abc$.
← Back to Problem 675
Solution
  1. $N^2\equiv N\pmod{10^5}$ means $N(N-1)\equiv0$, so one of $N,N-1$ is divisible by $2^5$ and the other by $5^5$.
  2. The solutions mod $10^5$ are $00000,00001,90625,09376$; only $90625$ has nonzero leading digit.
  3. So $abc=906$.
  4. The answer is $\boxed{906}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)