Maths Olympiad Prep

Library / /22 of 860

Number theory Difficulty 4.6 AIME Find the answer

Compute k=12009k(2009k2008k)\sum_{k=1}^{2009} k\left(\left\lfloor\frac{2009}{k}\right\rfloor-\left\lfloor\frac{2008}{k}\right\rfloor\right).

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

Solution

The summand is equal to kk if kk divides 2009 and 0 otherwise. Thus the sum is equal to the sum of the divisors of 2009, or 2394.

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.