You are viewing a single thread.
View all comments
6 points

Oh yeah? What about 0? And 1?

permalink
report
reply
4 points

Put them in a sieve of Eratosthenes and see what happens.

Spoiler, they aren’t.

permalink
report
parent
reply
36 points
*

They’re not prime. By definition primes have two prime factors. 1 and the number itself. 1 is divisible only by 1. 0 has no prime factors.

permalink
report
parent
reply
16 points

Commonly primes are defined as natural numbers greater than 1 that have only trivial divisors. Your definition kinda works, but 1 can be infinitely many prime factors since every number has 1^n with n ∈ ℕ as a prime factor. And your definition is kinda misleading when generalising primes.

permalink
report
parent
reply
9 points
*

Isn’t 1^n just 1? As in not a new number. I’d argue that 1*1==1*1*1. They’re not some subtly different ones. I agree that the concept of primes only becomes useful for natural numbers >1.
How is my definition misleading?

permalink
report
parent
reply
5 points

0 has all the factors. Itself and any other number.

permalink
report
parent
reply

Memes

!memes@lemmy.ml

Create post

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

Community stats

  • 7.7K

    Monthly active users

  • 13K

    Posts

  • 288K

    Comments