Maths Olympiad Prep

Library / HMMT February /32 of 1302

HMMT February

Number theory Difficulty 4.6 AIME Find the answer

Compute ∑k=12009k(⌊2009k⌋−⌊2008k⌋)\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. Fractions can be typed as 3/2, and spacing doesn't matter.

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,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.