TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Temperatures and Prime Numbers

1 pointsby elec3647about 11 years ago

1 comment

mooism2about 11 years ago
Or if you thought for a minute before rushing to write code, you would reflect that any temperature that is a prime number in both Celsius and Fahrenheit must be an integer in both Celsius and Fahrenheit, and therefore must be a multiple of 5 in Celsius.<p>Unless you count -5 as prime (and you don&#x27;t, or you would have noted that -5C = 23F is prime on both sides), there is only one prime number that is a multiple of 5...