Maths Olympiad Prep

Library / /153 of 348

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. Spacing and $ signs are ignored.

Solution

The largest is i=01006342i=31610071161=16100715\sum_{i=0}^{1006} 3 \cdot 4^{2 i}=3 \frac{16^{1007}-1}{16-1}=\frac{16^{1007}-1}{5}. This is 1(mod2),0(mod3),31007211(mod5)1(\bmod 2), 0(\bmod 3), 3 \cdot 1007 \equiv 21 \equiv 1(\bmod 5), and 3(210071)3(281)3(221)23\left(2^{1007}-1\right) \equiv 3\left(2^{8}-1\right) \equiv 3\left(2^{2}-1\right) \equiv 2 (mod7)(\bmod 7), so we need 1(mod10)1(\bmod 10) and 9(mod21)9(\bmod 21), which is 9+221=51(mod210)9+2 \cdot 21=51(\bmod 210).

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

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.