1985 AIME Problem 10

Attempt Problem 10 of the 1985 AIME 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 1985 AIME solutions, or check the answer key.

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

10.

How many of the first 10001000 positive integers can be expressed in the form ⌊2x⌋+⌊4x⌋+⌊6x⌋+⌊8x⌋, \lfloor2x\rfloor+\lfloor4x\rfloor+\lfloor6x\rfloor+\lfloor8x\rfloor, where xx is a real number, and ⌊z⌋\lfloor z\rfloor denotes the greatest integer less than or equal to z?z?
Answer: 600
Concepts:floor and ceiling functionsmodular arithmeticcounting integers in a range
Small hint:
Substitute y=2xy=2x and separate yy into its integer and fractional parts
Big hint:
Determine the values of ⌊r⌋+⌊2r⌋+⌊3r⌋+⌊4r⌋\lfloor r\rfloor+\lfloor2r\rfloor+\lfloor3r\rfloor+\lfloor4r\rfloor for 0≤r<10\leq r\lt1
Solution:
Let y=2x=m+r,y=2x=m+r, where mm is an integer and 0≤r<1.0\leq r\lt1. The expression is 10m+⌊r⌋+⌊2r⌋+⌊3r⌋+⌊4r⌋. 10m+\lfloor r\rfloor+\lfloor2r\rfloor+\lfloor3r\rfloor+\lfloor4r\rfloor. Checking the breakpoints r=14,r=\frac{1}{4}, 13,\frac{1}{3}, 12,\frac{1}{2}, 23,\frac{2}{3}, 34\frac{3}{4} shows that the fractional-part contribution takes exactly the values 0,0, 1,1, 2,2, 4,4, 5,5, and 6.6. Thus precisely six residue classes modulo 1010 are attainable. Among the first 10001000 positive integers, this gives 100⋅6=600.100\cdot6=600.
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.