Maths Olympiad Prep

Library / /22 of 348

Number theory Difficulty 4.5 AIME Find the answer

Find a2012a_{2012} if anan1+n(mod2012)a_{n} \equiv a_{n-1}+n(\bmod 2012) and a1=1a_{1}=1.

A number or a short expression. Spacing and $ signs are ignored.

Solution

Taking both sides modulo 2012, we see that anan1+n(mod2012)a_{n} \equiv a_{n-1}+n(\bmod 2012). Therefore, a2012a2011+2012a2010+2011+20121+2++2012(2012)(2013)2(1006)(2013)(1006)(1)1006(mod2012)a_{2012} \equiv a_{2011}+2012 \equiv a_{2010}+2011+2012 \equiv \ldots \equiv 1+2+\ldots+2012 \equiv \frac{(2012)(2013)}{2} \equiv(1006)(2013) \equiv (1006)(1) \equiv 1006(\bmod 2012).

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.