Maths Olympiad Prep

Library / HMMT November /56 of 672

HMMT November

Number theory Difficulty 4.5 AIME Find the answer

Find a2012a_{2012} if an≡an−1+n( mod 2012)a_{n} \equiv a_{n-1}+n(\bmod 2012) and a1=1a_{1}=1.

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

Solution

Taking both sides modulo 2012, we see that an≡an−1+n( mod 2012)a_{n} \equiv a_{n-1}+n(\bmod 2012). Therefore, a2012≡a2011+2012≡a2010+2011+2012≡…≡1+2+…+2012≡(2012)(2013)2≡(1006)(2013)≡(1006)(1)≡1006( mod 2012)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,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.