Prove sum of two primes is even

  • Thread starter Thread starter cragar
  • Start date Start date
  • Tags Tags
    even Primes Sum
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 5K views
cragar
Messages
2,546
Reaction score
3

Homework Statement


Prove: If a and b are prime numbers larger than 2, then a + b is even.

The Attempt at a Solution



Can i just say that prime numbers larger than 2 are odd and then prove that the sum of 2 odd numbers is even. And can i say that prime numbers larger than 2 are odd because prime numbers only have factors of 1 and themselves and if 2 was a factor then it wouldn't be prime.
 
Physics news on Phys.org
cragar said:
Can i just say that prime numbers larger than 2 are odd and then prove that the sum of 2 odd numbers is even. And can i say that prime numbers larger than 2 are odd because prime numbers only have factors of 1 and themselves and if 2 was a factor then it wouldn't be prime.

That's what I would do, but then I'm an engineer, not a mathematician
 
ok so would I show that the sum of 2 odd integers is even by
proof:
Let x and y be odd integers and there exists integers a and b such that
x=2a+1 and y=2b+1 .
then x+y=(2a+1)+(2b+1)
then x+y=2a+2b+2
x+y=2(a+b+1)
since x+y is divisible by 2 therefore it is even.
 
sweet , thanks for your help.
 
phinds said:
That's what I would do, but then I'm an engineer, not a mathematician
Ha ha, you I am a physics major learning to write proofs. I can't tell you how many times my physics profs cut corners on the math that would make a mathematician cringe.
 
You should try an engineering class, :P. It makes ME cringe.
 
cragar said:
ok so would I show that the sum of 2 odd integers is even by
proof:
Let x and y be odd integers and there exists integers a and b such that
x=2a+1 and y=2b+1 .
then x+y=(2a+1)+(2b+1)
then x+y=2a+2b+2
x+y=2(a+b+1)
since x+y is divisible by 2 therefore it is even.

Nothing wrong with what you did, but you can economize a bit like so:
then x+y=(2a+1)+(2b+1) = 2a+2b+2 = 2(a+b+1)
Since x+y is divisible by 2, therefore it is even.