Math Myth: A prime is only divisible by 1 and itself

  • I
  • Thread starter Greg Bernhardt
  • Start date
  • Tags
    Prime
In summary, @fresh_42 discusses the common misconception of the definition of prime numbers and how it differs from irreducibility. While prime numbers are defined as numbers that divide a product and also divide one of the factors, irreducible integers are also prime, but not all primes are irreducible. This misconception is often taught in schools for simplicity, but in certain domains, such as ##\mathbb{Z}[\sqrt{-5}]##, this definition does not hold true. This insight also highlights the importance of discussing and addressing unanswered threads in online forums.
  • #1
19,546
10,287
From @fresh_42's Insight
https://www.physicsforums.com/insights/10-math-things-we-all-learnt-wrong-at-school/

This is wrong. Well, yes and no. Strictly speaking, this definition describes irreducibility. And irreducibility is different from primality. A prime number is actually a number, that if it divides a product, then it has to divide one of the factors. $$7\,|\,28=2\cdot 14 \;\Longrightarrow \;7\,|\,2\text{ or }7\,|\,14$$ $$4\,|\,12=2\cdot 6\text{ but }4\,\nmid \,2 \text{ and } 4\,\nmid \,6$$ It is a bit more complicated, but it is the correct definition. However, irreducible integers are prime integers and vice versa which is why the correct definition is replaced at school by the more handy one. However, there are domains in which this is not the case. The standard example is ##\mathbb{Z}[\sqrt{-5}]## where $$6=2\cdot 3=(1+\sqrt{-5})\cdot (1-\sqrt{-5})$$ is a decomposition into irreducible factors that are not prime.
 
Mathematics news on Phys.org
  • #2
What is going on here ?
 
  • #3
BvU said:
What is going on here ?
I divided up parts of @fresh_42's latest Insight to facilitate discussion on each
 
  • #4
That's 11 entries on the unanswered threads list !
 
Last edited:
  • Haha
Likes Greg Bernhardt
  • #5
I'm glad that my teacher in grade school didn't teach these facts.
 

FAQ: Math Myth: A prime is only divisible by 1 and itself

1. What is a prime number?

A prime number is a positive integer that is only divisible by 1 and itself. In other words, it has no other factors besides 1 and itself.

2. How do you determine if a number is prime?

To determine if a number is prime, you can check if it is only divisible by 1 and itself. One way to do this is by using a process called trial division, where you divide the number by every integer from 2 to the square root of the number. If none of these divisions result in a whole number, then the number is prime.

3. Are there an infinite number of prime numbers?

Yes, there are an infinite number of prime numbers. This was first proven by Euclid around 300 BC. The proof is based on the fact that if you multiply all the prime numbers together and add 1, the resulting number will either be prime or divisible by a new prime number that was not included in the original set.

4. Why are prime numbers important?

Prime numbers are important in many areas of mathematics, including number theory, cryptography, and computer science. They also have practical applications in fields such as coding and data compression. Additionally, prime numbers play a crucial role in understanding the distribution of numbers and patterns in the natural world.

5. Can a number be both prime and composite?

No, a number cannot be both prime and composite. A prime number, by definition, has only 2 factors (1 and itself), while a composite number has at least 3 factors. Therefore, a number cannot have both 2 and 3 factors at the same time.

Similar threads

Replies
3
Views
747
Replies
24
Views
2K
Replies
4
Views
1K
Replies
5
Views
1K
Replies
2
Views
1K
Replies
1
Views
2K
Replies
142
Views
8K
Replies
14
Views
2K
Replies
1
Views
876
Back
Top