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.

Is This Prime?

11 pointsby DarkContinentover 2 years ago

3 comments

kadobanover 2 years ago
Way more fun than it should be. Multiples of 3 are the worst, at least for me. Using the trick to check those helps a lot (sum the digits, it's div-by-3 iff the sum of digits is div-by-3).
jakabiaover 2 years ago
Good job!<p>I managed to get 9 correct answers in a line by just randomly pressing &quot;y&quot; and &quot;n&quot;, I&#x27;m so proud of myself.
dekervinover 2 years ago
Well done !