mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2009-07-24, 12:49   #1
spkarra
 
"Sastry Karra"
Jul 2009
Bridgewater, NJ (USA)

33 Posts
Default Is this phenomenon new?

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 ********
**********************************************
spkarra is offline   Reply With Quote
Old 2009-07-24, 13:04   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by spkarra View Post
p^k NOT = q^k
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:
Originally Posted by spkarra View Post
"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 ".
What are you saying? I'm going to pretend it says something like "With integer k>0 and two distinct prime numbers p and q, p^k+q^k is always even." Let me know if that's wrong.
Quote:
Originally Posted by spkarra View Post
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.
This is not at all surprising, though I doubt the question has been put quite like you have.
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.
Quote:
Originally Posted by spkarra View Post
Total primes found between 1 and 9999 : 1228
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
Mini-Geek is offline   Reply With Quote
Old 2009-07-24, 16:38   #3
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

1E0C16 Posts
Default

Quote:
Originally Posted by spkarra View Post
"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 ".
Counterexample:

p = 2, q = 3, k = any positive integer

Quote:
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'd have been surprised, too!

"all primes between 1 and 9999" ???

1 < 2 < 3 < 9999
cheesehead is offline   Reply With Quote
Old 2009-07-25, 00:10   #4
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

315910 Posts
Default

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
ATH is offline   Reply With Quote
Old 2009-07-25, 16:20   #5
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

11101001001002 Posts
Default

Quote:
Originally Posted by spkarra View Post
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.
Phenomenon? What Phenomenon? If p and q are ANY odd numbers,
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????
R.D. Silverman is offline   Reply With Quote
Old 2009-07-25, 21:59   #6
flouran
 
flouran's Avatar
 
Dec 2008

72×17 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
This is grade school arithmetic. Why are you trying to make it into
something mysterious????
Perhaps the OP is in grade school
flouran is offline   Reply With Quote
Old 2009-07-25, 22:05   #7
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

11100100112 Posts
Default

Quote:
Originally Posted by spkarra View Post
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
If you think about the basics of exponentiation- any expression x^n will be odd given that x is odd and n is a positive integer. Thus, for p does not equal q... as long as either p or q is odd and the other is even, the ending expression will be odd. Since p and q are prime, the only even prime number is two. Thus, there are an infinite number of counter examples so long as either p or q is equal to two while the other is a prime number > 2.
Primeinator is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering Phenomenon R.D. Silverman NFSNET Discussion 2 2005-09-16 04:00

All times are UTC. The time now is 00:07.


Sat Jul 17 00:07:16 UTC 2021 up 49 days, 21:54, 1 user, load averages: 1.83, 1.59, 1.51

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.