Take a test Sign in 中文
← Exercise 549 →
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 549
Let $N$ be the largest positive integer with the following property: reading from left to right, each pair of consecutive digits of $N$ forms either a perfect square or a multiple of $29$. What are the leftmost three digits of $N$?
← Back to Problem 549
Solution
  1. The allowed pairs are $16,25,36,49,64,81$ and $29,58,87$.
  2. As arrows between digits: $1\to6$, $2\to5$, $2\to9$, $3\to6$, $4\to9$, $5\to8$, $6\to4$, $8\to1$, $8\to7$.
  3. There is no cycle, and the longest path is $2\to5\to8\to1\to6\to4\to9$.
  4. So $N=2581649$, and its leftmost three digits are $258$.
  5. The answer is $\boxed{258}$.
Search Go to Prev      Next

Contact Us

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