2012 AIME II Problem 10

Attempt Problem 10 of the 2012 AIME II below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2012 AIME II solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

10.

Find the number of positive integers nn less than 10001000 for which there exists a positive real number xx such that n=x⌊x⌋.n = x\lfloor x \rfloor.
Note: ⌊x⌋\lfloor x \rfloor is the greatest integer less than or equal to x.x.
Answer: 496
Concepts:floor and ceiling functionscounting integers in a range
Small hint:
Fix ⌊x⌋=a;\lfloor x \rfloor = a; as xx runs from aa to a+1,a + 1, the product x⌊x⌋x\lfloor x \rfloor sweeps through the integers from a2a^2 to a2+a−1a^2 + a - 1
Big hint:
Each aa contributes exactly aa values of n;n; sum over all aa whose values stay below 10001000
Solution:
Fix ⌊x⌋=a≥1.\lfloor x \rfloor = a \ge 1. For a≤x<a+1a \le x \lt a + 1 the product n=axn = ax ranges over [a2,a2+a),[a^2, a^2 + a), and every integer nn in that interval is achieved by x=nax = \frac{n}{a} (which indeed has floor aa). So each aa contributes exactly aa values of n,n, namely a2,a2+1,…,a2+a−1.a^2, a^2 + 1, \ldots, a^2 + a - 1.
For a=31a = 31 the largest value is 312+30=991<1000,31^2 + 30 = 991 \lt 1000, so all values through a=31a = 31 qualify, while a=32a = 32 already starts at 1024.1024. The count is 1+2+⋯+31=31⋅322=496.1 + 2 + \cdots + 31 = \frac{31 \cdot 32}{2} = 496.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.