Solution
Solution 1
Examine F−32 modulo 9.
- If F−32≡0(mod9), then we can define 9x=F−32. This shows that F=[59[95(F−32)]+32]⟹F=[59(5x)+32]⟹F=9x+32. This case works.
- If F−32≡1(mod9), then we can define 9x+1=F−32. This shows that F=[59[95(F−32)]+32]⟹F=[59(5x+1)+32]⟹F=[9x+59+32]⟹F=9x+34. So this case doesn't work.
Generalizing this, we define that 9x+k=F−32. Thus, F=[59[95(9x+k)]+32]⟹F=[59(5x+[95k])+32]⟹F=[59[95k]]+9x+32. We need to find all values 0≤k≤8 that [59[95k]]=k. Testing every value of k shows that k=0,2,4,5,7, so 5 of every 9 values of k work.
There are ⌊91000−32⌋=107 cycles of 9, giving 5⋅107=535 numbers that work. Of the remaining 6 numbers from 995 onwards, 995, 997, 999, 1000 work, giving us 535+4=539 as the solution.
Solution 2
Notice that [59[95k]]=k holds if k=[59x] for some integer x. Thus, after translating from F→F−32 we want count how many values of x there are such that k=[59x] is an integer from 0 to 968. This value is computed as [968∗95]+1=539, adding in the extra solution corresponding to 0.
Note
Proof that [59[95k]]=k if k=[59x] for some integer x:
First assume that k cannot be written in the form k=[59x] for any integer x. Let z=[95k]. Our equation simplifies to k=[59z]. However, this equation is not possible, as we defined k such that it could not be written in this form. Therefore, if k=[59x], then [59[95k]]=k.
Now we will prove that if k=[59x], [59[95k]]=k. We realize that because of the 5 in the denominator of [59x], [59x] will be at most 52 away from 59x. Let z=[59x]−59x, meaning that −52≤z≤52. Now we substitute this into our equation:
[59[95k]]=[59[95[59x]]]=[59[95(59x+z)]]=[59[95(59x+z)]]=[59[x+95z]]
.
Now we use the fact that −52≤z≤52
[59[x−95(52)]]≤[59[x+95(z)]]≤[59[x+95(52)]]
[59x]≤[59[x+95(z)]]=[59[95k]]≤[59x]
Hence [59[95k]]=[59x]=k and we are done.
- mako17
Solution 3
Let c be a degree Celsius, and f=59c+32 rounded to the nearest integer. Since f was rounded to the nearest integer we have ∣f−((59)c+32)∣≤1/2, which is equivalent to ∣(95)(f−32)−c∣≤185 if we multiply by 5/9. Therefore, it must round to c because 185<21 so c is the closest integer. Therefore there is one solution per degree Celsius in the range from 0 to (95)(1000−32)+1=(95)(968)+1=538.8, meaning there are 539 solutions.
Solution 4
Start listing out values for F and their corresponding values of C. You will soon find that every 9 values starting from F = 32, there is a pattern:
F=32: Works
F=33: Doesn't work
F=34: work
F=35: Doesn’t work
F=36: Works
F=37: Works
F=38: Doesn’t work
F=39: Works
F=40: Doesn’t work
F=41: Works
There are 969 numbers between 32 and 1000, inclusive. This is 107 sets of 9, plus 6 extra numbers at the end. In each set of 9, there are 5 “Works,” so we have 107⋅5=535 values of F that work.
Now we must add the 6 extra numbers. The number of “Works” in the first 6 terms of the pattern is 4, so our final answer is 535+4=539 solutions that work.
Submitted by warriorcats
Solution 5(similar to solution 3 but faster solution if you have no time)
Notice that every C value corresponds to exactly one F value but multiple F values can correspond to a C value. Thus, the smallest C value is 0 and the largest C value is 538 yielding 539 solutions.
-alanisawesome2018
Video Solution
2007 AIME I #5
MathProblemSolvingSkills.com