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 FandC.py 
5 degC, 41 degF 

DONE

Comments

Popular posts from this blog

Using Audacity as an Oscilloscope

Using Google Command Line Tools to post my Computer Systems Notes

Store Script Passwords Securely in Mac OS X