Is a Prime Number Always a Factor of a Product of Integers?

  • Thread starter Thread starter liangiecar
  • Start date Start date
  • Tags Tags
    Prime
liangiecar
Messages
2
Reaction score
0
How to proof?
A prime number p is a factor of a non-zero product of integers a*b if and only if it is a facotr of a and/or b.
 
Physics news on Phys.org
The "if" direction is obvious. For the "only if", you need to use the fundamental theorem of arithmetic. Because a*b has a unique prime decomposition, if a prime p divides a*b then it must be one of the primes in the decomposition. The prime decomposition of a*b is just the product of the decompositions of a and b, so p must divide a and/or b.

This sounds like a homework question! In which case you will need to be a lot more rigorous when you write it out.
 
Last edited:
One side is trivial: if p is a factor of a and/or b, then it is clearly a factor of a * b.

For the converse implication, the easiest way I can think of is using the unique decomposition of any integer into its prime factors.
 
thx,guys
 
Caution. Some proofs of unique factorization may use this property of primes. And then it would be illegitimate to use unique factorization in the proof of this...
 
assume p is a factor of ab. then p|ab. since p is prime, euclid's lemma says p|a and/or p|b, thus p is a factor of a and/or b.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
2K
Replies
48
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 12 ·
Replies
12
Views
651
  • · Replies 5 ·
Replies
5
Views
2K
Replies
9
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K