• Elvith Ma'for@feddit.org
    link
    fedilink
    arrow-up
    13
    ·
    1 month 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
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      1 month 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.