Maths Olympiad Prep

Library / Romanian Mathematical Olympiad /80 of 275

Romanian Mathematical Olympiad

Combinatorics Difficulty 5.3 AIME, harder Prove it Romania

Let nn be a strictly positive integer. For any natural number kk, we denote by a(k)a(k) the number of natural divisors dd of kk such that k≤d2≤n2k \le d^2 \le n^2. Compute the sum ∑k=1n2a(k)\sum_{k=1}^{n^2} a(k).

Solution

S(n)={(k,d)∣d divides k,k≤d2≤n2,1≤k≤n2}. S(n) = \{(k, d) \mid d \text{ divides } k, k \le d^2 \le n^2, 1 \le k \le n^2\}.
For 1≤k≤n21 \le k \le n^2, let A(k)A(k) be the set of the natural divisors dd of kk such that k≤d2≤n2k \le d^2 \le n^2.
A natural number d∈{1,2,…,n}d \in \{1, 2, \dots, n\} belongs to the sets A(d)A(d), A(2d)A(2d), …\dots, A(d2)A(d^2) and only to them.
It follows that the contribution of each dd in the sum ∑k=1n2a(k)=∑k=1n2∣A(k)∣\sum_{k=1}^{n^2} a(k) = \sum_{k=1}^{n^2} |A(k)| is 1+1+⋯+1⏟d terms=d\underbrace{1 + 1 + \dots + 1}_{d \text{ terms}} = d.
Thus, ∑k=1n2a(k)=∑d=1nd=n(n+1)/2\sum_{k=1}^{n^2} a(k) = \sum_{d=1}^{n} d = n(n+1)/2.

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: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.