Let N be the largest positive integer that can be expressed as a 2013-digit base -4 number. What is the remainder when N 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=316−1161007−1=5161007−1. This is 1(mod2),0(mod3),3⋅1007≡21≡1(mod5), and 3(21007−1)≡3(28−1)≡3(22−1)≡2(mod7), so we need 1(mod10) and 9(mod21), which is 9+2⋅21=51(mod210).
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.