Showing posts from March, 2014

Temperatures and Prime Numbers

While driving the other day, I wondered what combinations of numbers will be prime in both degrees C and degrees F. I could only find one and so wondered if there are any others. From what I can tell, in the first million degrees C, there is only one set. Here is the code I used to check with. It relies on a handy module named pyprimes to ease in finding prime numbers. Answer at very bottom.

# python 
5 degC, 41 degF