![]() |
|
|
#1 |
|
"Sastry Karra"
Jul 2009
Bridgewater, NJ (USA)
33 Posts |
Hi,
Here is my statement: "If k is an positive number, p and q are Prime numbers and p^k NOT = q^k, such that integers of the form (p^k + q^k) will always be an even number ". I tested with k from 0 thru 99 and for all primes between 1 and 9999. To my surprise, I didnot find a ODD number that satisfies the above condition. I didnot use Pari/gp. Just eager to know is there a counterexample for thisphenomenon. Thanks, Sastry Karra ****************Mytest results******************* Run Statistics - Begins **** Tested for: k = 0 thru 99; all prime numbers between 1 and 9999 Total primes found between 1 and 9999 : 1228 Processing Started at: Thu Jul 23 14:10:35 EDT 2009 Number of integers of the form (p^k + q^k) calculated : 149168844 Number of Even integers of the form (p^k + q^k) 149168844 Number of Odd integers of the form (p^k + q^k) 0 Longest Even number found is: 397 digits long Processing Ended at: Thu Jul 23 23:42:29 EDT 2009 Run Statistics - Ends ******** ********************************************** |
|
|
|
|
|
#2 | ||
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
This is equivalent to saying k>0 (already established in "k is an positive number") and p!=q (p is not equal to q).
Quote:
Quote:
Think about it for a second: Will a power of an odd prime number ever contain a factor of two? Will two odd numbers ever sum to an odd number? The only time that p^k+q^k will ever be odd is if p or q (but not both) is an even prime number: 2. There are 1229 primes between 1 and 9999. Unless you've intentionally excluded the possibility of p or q being 2, (which just excluded the only possible time that p^k+q^k is odd) you've got a bug. Last fiddled with by Mini-Geek on 2009-07-24 at 13:05 |
||
|
|
|
|
|
#3 | ||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
1E0C16 Posts |
Quote:
p = 2, q = 3, k = any positive integer Quote:
"all primes between 1 and 9999" ??? 1 < 2 < 3 < 9999 |
||
|
|
|
|
|
#4 |
|
Einyen
Dec 2003
Denmark
315910 Posts |
If one prime p or q is 2 but not both then p^k or q^k will be even and the other odd and then (p^k + q^k) wil be odd.
if primes p,q > 2 then p and q is odd and p^k and q^k is odd so (p^k + q^k) will always be even. Last fiddled with by ATH on 2009-07-25 at 00:13 |
|
|
|
|
|
#5 | |
|
Nov 2003
11101001001002 Posts |
Quote:
their sum is even. This has nothing to do with primes or prime powers. Clearly choosing p = 2, and q as any odd number violates your claim. The sum of an even number and an odd number is odd. This is grade school arithmetic. Why are you trying to make it into something mysterious???? |
|
|
|
|
|
|
#6 |
|
Dec 2008
72×17 Posts |
|
|
|
|
|
|
#7 | |
|
"Kyle"
Feb 2005
Somewhere near M52..
11100100112 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filtering Phenomenon | R.D. Silverman | NFSNET Discussion | 2 | 2005-09-16 04:00 |