Is It Proved That All Primes End With 1,3,7,9?

  • Context: High School 
  • Thread starter Thread starter wellorderingp
  • Start date Start date
  • Tags Tags
    Primes
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
8 replies · 4K views
wellorderingp
Messages
23
Reaction score
1
So it was my observation that all the prime numbers I saw ended with digits 1,3,7,9.Is this true for all primes? Is it proved?
 
Mathematics news on Phys.org
Consider: With the exception of 2, no primes can be even, as if they are even, then they are divisible by 2.

Therefore, all primes must end in 1, 3, 5, 7, or 9.

Consider: With the exception of 5, no primes can end in 5, as if they do so, then they are a multiple of 5.

Therefore, all primes must end in 1, 3, 7, or 9.

So... yes.

If you need a proof of either of the considered statements, I'm sure it wouldn't be too difficult.
 
  • Like
Likes   Reactions: WWGD
Yeah that was pretty simple :) thanks anyways
 
  • Like
Likes   Reactions: WWGD
Simple, maybe, but it's still helpful for prime identification. Considering that just those two little rules invalidate over 60% of all natural numbers from being prime, it allows you (or a computer) to focus more easily upon the other 40%.