Skip to main content

2014 AMC 12A Problem 21

Problem 21 of 25HarderAlgebra

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?

Answer choices

Show solution

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.
AoPS wiki

Tagged: floor and ceiling functions · logarithm · telescoping

More practice