Maths Olympiad Prep

Library / HMMT November /214 of 672

HMMT November

Algebra Difficulty 4.9 AIME Find the answer

Let NN be the largest positive integer that can be expressed as a 2013-digit base -4 number. What is the remainder when NN is divided by 210?

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

Solution

The largest is ∑i=010063⋅42i=3161007−116−1=161007−15\sum_{i=0}^{1006} 3 \cdot 4^{2 i}=3 \frac{16^{1007}-1}{16-1}=\frac{16^{1007}-1}{5}. This is 1( mod 2),0( mod 3),3⋅1007≡21≡1( mod 5)1(\bmod 2), 0(\bmod 3), 3 \cdot 1007 \equiv 21 \equiv 1(\bmod 5), and 3(21007−1)≡3(28−1)≡3(22−1)≡23\left(2^{1007}-1\right) \equiv 3\left(2^{8}-1\right) \equiv 3\left(2^{2}-1\right) \equiv 2 ( mod 7)(\bmod 7), so we need 1( mod 10)1(\bmod 10) and 9( mod 21)9(\bmod 21), which is 9+2⋅21=51( mod 210)9+2 \cdot 21=51(\bmod 210).

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.