601
It looks so wrong (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] elvith@feddit.org 22 points 2 weeks ago

The digit sum of 51 is 6, which is divisible by three. So 51 is also divisible by three. It’s not even hard to see that it’s not prime.

[-] sugar_in_your_tea@sh.itjust.works 15 points 2 weeks ago* (last edited 2 weeks ago)

Yup, my personal prime check is:

  1. Even?
  2. Ends in 5?
  3. Digits sum to 3?

If it fails all three and it's not an "obvious" prime (<20), then it's prime enough for me.

[-] Knock_Knock_Lemmy_In@lemmy.world 2 points 2 weeks ago

Also

Ends in 0,

but that's covered by 5 really.

[-] sugar_in_your_tea@sh.itjust.works 7 points 2 weeks ago

It's also covered by being even.

this post was submitted on 11 Dec 2024
601 points (95.5% liked)

People Twitter

5392 readers
406 users here now

People tweeting stuff. We allow tweets from anyone.

RULES:

  1. Mark NSFW content.
  2. No doxxing people.
  3. Must be a tweet or similar
  4. No bullying or international politcs
  5. Be excellent to each other.
  6. Provide an archived link to the tweet (or similar) being shown if it's a major figure or a politician.

founded 2 years ago
MODERATORS