返回题库

AIME 2020 II · 第 14 题

AIME 2020 II — Problem 14

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

For a real number xx let x\lfloor x\rfloor be the greatest integer less than or equal to xx, and define {x}=xx\{x\} = x - \lfloor x \rfloor to be the fractional part of xx. For example, {3}=0\{3\} = 0 and {4.56}=0.56\{4.56\} = 0.56. Define f(x)=x{x}f(x)=x\{x\}, and let NN be the number of real-valued solutions to the equation f(f(f(x)))=17f(f(f(x)))=17 for 0x20200\leq x\leq 2020. Find the remainder when NN is divided by 10001000.

解析

Solution 1

Note that the upper bound for our sum is 2019,2019, and not 2020,2020, because if it were 20202020 then the function composition cannot equal to 17.17. From there, it's not too hard to see that, by observing the function composition from right to left, NN is (note that the summation starts from the right to the left):

x=172019y=x2019z=y20191.\sum_{x=17}^{2019} \sum_{y=x}^{2019} \sum_{z=y}^{2019} 1 . One can see an easy combinatorical argument exists which is the official solution, but I will present another solution here for the sake of variety.

Applying algebraic manipulation and the hockey-stick identity 33 times gives

x=172019y=x2019z=y20191\sum_{x=17}^{2019} \sum_{y=x}^{2019} \sum_{z=y}^{2019} 1 =x=172019y=x2019z=y2019(zy0)=\sum_{x=17}^{2019} \sum_{y=x}^{2019} \sum_{z=y}^{2019} \binom{z-y}{0} =x=172019y=x2019(2020y1)=\sum_{x=17}^{2019} \sum_{y=x}^{2019} \binom{2020-y}{1} =x=172019(2021x2)=\sum_{x=17}^{2019} \binom{2021-x}{2} =(20053)=\binom{2005}{3} Hence,

N=200520042003321010(mod1000)N = \frac{2005 \cdot 2004 \cdot 2003}{3 \cdot 2\cdot 1} \equiv \boxed{010} (\mathrm{mod} \hskip .2cm 1000)

Solution 2

To solve f(f(f(x)))=17f(f(f(x)))=17, we need to solve f(x)=yf(x) = y where f(f(y))=17f(f(y))=17, and to solve that we need to solve f(y)=zf(y) = z where f(z)=17f(z) = 17.

It is clear to see for some integer a17a \geq 17 there is exactly one value of zz in the interval [a,a+1)[a, a+1) where f(z)=17f(z) = 17. To understand this, imagine the graph of f(z)f(z) on the interval [a,a+1)[a, a+1) The graph starts at 00, is continuous and increasing, and approaches a+1a+1. So as long as a+1>17a+1 > 17, there will be a solution for zz in the interval.

Using this logic, we can find the number of solutions to f(x)=yf(x) = y. For every interval [a,a+1)[a, a+1) where aya \geq \left \lfloor{y}\right \rfloor there will be one solution for xx in that interval. However, the question states 0x20200 \leq x \leq 2020, but because x=2020x=2020 doesn't work we can change it to 0x<20200 \leq x < 2020. Therefore, ya2019\left \lfloor{y}\right \rfloor \leq a \leq 2019, and there are 2020y2020 - \left \lfloor{y}\right \rfloor solutions to f(x)=yf(x) = y.

We can solve f(y)=zf(y) = z similarly. 0y<20200 \leq y < 2020 to satisfy the bounds of xx, so there are 2020z2020 - \left \lfloor{z}\right \rfloor solutions to f(y)=zf(y) = z, and 0z<20200 \leq z < 2020 to satisfy the bounds of yy.

Going back to f(z)=17f(z) = 17, there is a single solution for z in the interval [a,a+1)[a, a+1), where 17a201917 \leq a \leq 2019. (We now have an upper bound for aa because we know z<2020z < 2020.) There are 20032003 solutions for zz, and the floors of these solutions create the sequence 17,18,19,...,2018,201917, 18, 19, ..., 2018, 2019

Lets first look at the solution of zz where z=17\left \lfloor{z}\right \rfloor = 17. Then f(y)=zf(y) = z would have 20032003 solutions, and the floors of these solutions would also create the sequence 17,18,19,...,2018,201917, 18, 19, ..., 2018, 2019.

If we used the solution of yy where y=17\left \lfloor{y}\right \rfloor = 17, there would be 20032003 solutions for f(x)=yf(x) = y. If we used the solution of yy where y=18\left \lfloor{y}\right \rfloor = 18, there would be 20022002 solutions for xx, and so on. So for the solution of zz where z=17\left \lfloor{z}\right \rfloor = 17, there will be 2003+2002+2001+...+2+1=(20042)2003 + 2002 + 2001 + ... + 2 + 1 = \binom{2004}{2} solutions for xx

If we now look at the solution of zz where z=18\left \lfloor{z}\right \rfloor = 18, there would be (20032)\binom{2003}{2} solutions for xx. If we looked at the solution of zz where z=19\left \lfloor{z}\right \rfloor = 19, there would be (20022)\binom{2002}{2} solutions for xx, and so on.

The total number of solutions to xx is (20042)+(20032)+(20022)+...+(32)+(22)\binom{2004}{2} + \binom{2003}{2} + \binom{2002}{2} + ... + \binom{3}{2} + \binom{2}{2}. Using the hockey stick theorem, we see this equals (20053)\binom{2005}{3}, and when we take the remainder of that number when divided by 10001000, we get the answer, 10\boxed{10}

~aragornmf

Solution 3 (Official MAA)

For any nonnegative integer nn, the function ff increases on the interval [n,n+1)[n,n+1), with f(n)=0f(n)=0 and f(x)foreveryf(x) for everyxinthisinterval.Onthisintervalin this interval. On this intervalf(x)=x(x-n),whichtakesoneveryrealvalueintheinterval, which takes on every real value in the interval[0,n+1)exactlyonce.Thusforeachnonnegativerealnumberexactly once. Thus for each nonnegative real numbery,theequation, the equationf(x) = yhasexactlyonesolutionhas exactly one solutionx \in [n, n+1)foreveryfor everyn \ge \lfloor y \rfloor$.

For each integer a17a\geq 17 there is exactly one xx with x=a\lfloor x\rfloor=a such that f(x)=17f(x)=17; likewise for each integer ba17b\geq a\geq 17 there is exactly one xx with f(x)=a\lfloor f(x)\rfloor=a and x=b\lfloor x\rfloor=b such that f(f(x))=17f(f(x))=17. Finally, for each integer cba17c \ge b \ge a \ge 17 there is exactly one xx with f(f(x))=a\lfloor f(f(x)) \rfloor = a, f(x)=b\lfloor f(x)\rfloor=b, and x=c\lfloor x\rfloor=c such that f(f(f(x)))=17f(f(f(x)))=17.

Thus f(f(f(x)))=17f(f(f(x)))=17 has exactly one solution xx with 0x20200\leq x\leq 2020 for each triple of integers (a,b,c)(a,b,c) with 17abc<202017\leq a\leq b\leq c<2020, noting that x=2020x=2020 is not a solution. This nondecreasing ordered triple can be identified with a multiset of three elements of the set of 20032003 integers {17,18,19,,2019}\{17,18,19,\ldots,2019\}, which can be selected in (20053)\binom{2005}3 ways. Thus

N=200520042003610(mod1000).N=\frac{2005\cdot 2004\cdot 2003}{6}\equiv 10\hskip -.2cm \pmod{1000}.

Video Solution 1

https://youtu.be/bz5N-jI2e0U?t=515

Video Solution 2

https://youtu.be/YWKlWuwDwmI