Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

The formula for converting a Fahrenheit temperature to the corresponding Celsius temperature is An integer Fahrenheit temperature is converted to Celsius, rounded to the nearest integer, converted back to Fahrenheit, and again rounded to the nearest integer. For how many integer Fahrenheit temperatures between 32 and 1000 inclusive does the original temperature equal the final temperature?
Solution
Examine modulo 9. If , then we can define . This shows that . This case works. If , then we can define . This shows that . So this case doesn't work. Generalizing this, we define that . Thus, . We need to find all values that . Testing every value of shows that , so of every values of work. There are cycles of , giving numbers that work. Of the remaining numbers from onwards, work, giving us as the solution.
Final answer
539