Mark:
To avoid a non-integer conversion, the last digit must be zero or five. Moving a zero to the front will reduce the number. Therefore, the last digit must be 5.
Call the solution 10x+5
Solve:
(10x + 5) * 9/5 + 32 = x + 5 * 10^n
to get:
x = (5 * 10^n - 41) / 17
There is a solution when (5 * 10^n - 41) mod 17 = 0.
There are an infinite number of solutions of the form:
[(5 * 10^n - 410) / 17] + 5
where n = 3, 19, 35, ..., 16m+3, ...
The number you seek is 2,941,176,470,588,235,275
Credit where credit is due, that is one heck of an answer!
Let c = x_{n}*10^{n-1} + ... + x_{1}*10^1 + x_{0} with x_{n} > 0, then f = x_{0}*10^{n-1} + (c-x_{0})/10. We also have that f = (9/5)*c + 32. Notice that in order for f to be integral c must be divisible by 5; this implies that x_0=5 since it cannot equal 0 (since as a number f>c). Our equation then becomes (9/5)*c + 32 = 5*10^{n-1} + (c-5)/10 implies c = 5*(10^n - 65)/17.
Now it turns out that 10 is a primitive root modulo 17 (don't worry dear reader about what this means), and so it follows that c is integral if and only if n is of the form 16*m + 3. When m=0 we get c=275; when m=1 we get the next highest such temperature, which is 5*(10^{19}-65)/17 = 2941176470588235275.
(Not a lot of people know that. However, thanks to Mark if the subject comes up in polite conversation, please feel free to regale them with the answer)
Billy Bob recently had another birthday. When someone mentioned (I am not naming names) that he was getting up there in years, he replied that he was actually quite young. Indeed, he pointed out, he is the youngest age such that the sum of the divisors of his age, not including the age itself, exceeded his age, yet the sum of no subset of these divisors equaled his age.
How old had Billy Bob just turned