2014 AMC 12A Problem 21

Attempt Problem 21 of the 2014 AMC 12A 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 2014 AMC 12A solutions, or check the answer key.

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

21.

For every real number x,x, let ⌊x⌋\lfloor x\rfloor denote the greatest integer not exceeding x,x, and let f(x)=⌊x⌋(2014 x−⌊x⌋−1).f(x)=\lfloor x\rfloor\left(2014^{\,x-\lfloor x\rfloor}-1\right). The set of all numbers xx such that 1≤x<20141\le x\lt2014 and f(x)≤1f(x)\le1 is a union of disjoint intervals. What is the sum of the lengths of those intervals?
11
log⁡2015log⁡2014\dfrac{\log2015}{\log2014}
log⁡2014log⁡2013\dfrac{\log2014}{\log2013}
20142013\dfrac{2014}{2013}
2014120142014^{\frac{1}{2014}}
Answer: A
Concepts:floor and ceiling functionslogarithmtelescoping
Small hint:
Write x=n+rx=n+r with n=⌊x⌋n=\lfloor x\rfloor and 0≤r<1,0\le r\lt1, so f(x)=n(2014 r−1)f(x)=n\left(2014^{\,r}-1\right)
Big hint:
The condition f(x)≤1f(x)\le1 gives 0≤r≤log⁡2014n+1n0\le r\le\log_{2014}\dfrac{n+1}{n}; sum these lengths and telescope
Solution:
Write x=n+rx=n+r with integer nn (1≤n≤20131\le n\le2013) and 0≤r<1.0\le r\lt1. Then f(x)=n(2014 r−1),f(x)=n\left(2014^{\,r}-1\right), and f(x)≤1f(x)\le1 becomes 2014 r≤1+1n,2014^{\,r}\le1+\dfrac1n, i.e. 0≤r≤log⁡2014n+1n.0\le r\le\log_{2014}\dfrac{n+1}{n}.
Each nn contributes an interval of length log⁡2014n+1n,\log_{2014}\dfrac{n+1}{n}, so the total is ∑n=12013log⁡2014n+1n=log⁡2014 ⁣(21⋅32⋯20142013)=log⁡20142014=1. \begin{gathered} \sum_{n=1}^{2013}\log_{2014}\dfrac{n+1}{n}\\ =\log_{2014}\!\left(\dfrac21\cdot\dfrac32\cdots\dfrac{2014}{2013}\right)\\ =\log_{2014}2014=1. \end{gathered}
Thus, the correct answer is A.
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.