Solution
Solution 1
We know that x cannot be irrational because the product of a rational number and an irrational number is irrational (but n is an integer). Therefore x is rational.
Let x=a+cb where a,b,c are nonnegative integers and 0≤b<c (essentially, x is a mixed number). Then,
n=(a+cb)⌊a+cb⌋⇒n=(a+cb)a=a2+cab
Here it is sufficient for cab to be an integer. We can use casework to find values of n based on the value of a:
a=0⟹ nothing because n is positive
a=1⟹cb=10
a=2⟹cb=20,21
a=3⟹cb=30,31,32
The pattern continues up to a=31. Note that if a=32, then n>1000. However if a=31, the largest possible x is 31+3130, in which n is still less than 1000. Therefore the number of positive integers for n is equal to 1+2+3+...+31=231⋅32=496.
Solution 2
Notice that x⌊x⌋ is continuous over the region x∈[k,k+1) for any integer k. Therefore, it takes all values in the range [k⌊k⌋,(k+1)⌊k+1⌋)=[k2,(k+1)k) over that interval. Note that if k>32 then k2>1000 and if k=31, the maximum value attained is 31∗32<1000. It follows that the answer is ∑k=131(k+1)k−k2=∑k=131k=231⋅32=496.
Solution 3
Bounding gives x2≤n.Thusthereareatotalofxpossiblevaluesforn,foreachvalueofx^2.Checking,wesee31^2+31=992<1000$, so there are
1+2+3+...+31=496
such values for n.
Here writer's x and question's x are different. Here writer means [x] everywhere he writes x so you can let [x] = k and then use the inequality k2len.thisinequalitycomesfrom[x]=kk\le x k[x]≤x[x]<(k+1)[x] k2≤n<(k+1)k further you can proceed.
Solution 4
After a bit of experimenting, we let n=l2+s,s<2n+1. We claim that I (the integer part of x) = l . (Prove it yourself using contradiction !) so now we get that x=l+ls. This implies that solutions exist iff s,orforallnaturalnumbersoftheforml^2+swheres. Hence, 1 solution exists for l=1! 2 for l=2 and so on. Therefore our final answer is 31+30+⋯+1=496
Solution 5
Notice we can write ⌊x⌋ as x−{x}. Since n is a positive integer less than 1000,
1≤x(x−{x})≤999.
We now have
1≤x2−x{x}≤999.
Since x{x} ranges from 0 to x, we can rewrite as
1≤x2≤999+x.
Notice all x that satisfy this inequality range from 1 to 32.
Now every range from y to y+1 for x results in exactly y solutions that give a positive integer solution for n. The first range is 1 to 2 and the last range is 31 to 32.
Thus, by using our above lemma, we can find the total number of solutions:
1+2+⋯+31=231⋅32=496.
~ilikemath247365
Video Solution
2012 AIME II #10
~MathProblemSolvingSkills.com