mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2009-07-21, 23:15   #12
R.D. Silverman
 
R.D. Silverman's Avatar
 
Nov 2003

11101001001002 Posts
Default

Quote:
Originally Posted by alpertron View Post
Except when a=b. Let's get the factors of 9. 1 is paired with 9, and 3 is paired with...
3 is paired with 3.......
R.D. Silverman is offline   Reply With Quote
Old 2009-07-22, 05:05   #13
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

3·5·61 Posts
Default

Quote:
Originally Posted by jasong View Post
I accept that when you find a Mersenne prime that (2^n-1)(2^(n-1)) is a perfect number, but is there a simple way to calculate the factors of the perfect number. For instance, is there a systematic way to calculate the factors of the perfect number related to M47?
Mini-Geek makes a good point, as shown by axn.

Quote:
Originally Posted by jasong View Post
Just because I'm anal, let's test it. :) Since only (a) includes 1, I'll assume that both a and b are supposed to be used together.

The first Mersenne prime is 3, 2^2-1. This makes the first perfect number (2^2-1)(2^(2-1))=3*2=6.

So for a this gives us 1 and 2. For b you get 3.

I'll let others worry about maybe testing the other numbers.
M(5) = 2^5 -1 = 31. The associated perfect number is (2^4)(31) = 496

Using axn's approach, which is a direct form of what you posted yourself, the factors of 496 are :

a) 1, 2, 2^2 = 4, 2^3 = 8, 2^4 = 16
b) 2^5 -1 = 31, 2(2^5 -1) = 62, 2^2 * (2^5 -1) = 124, 2^3 * (2^5 -1) = 248, 2^4 * (2^5 -1) = 496

If you want to check: Simply construct a factor tree or, since this is a perfect number, add the factors except for the perfect number itself.

1 + 2 + 4 + 8 + 16 + 31 + 62 + 124 + 248 = 496

It checks out. I'm sure there is a relatively elementary proof for this that is undoubtedly closely tied to the form of a perfect number of (2^n-1)(2^(n-1))
Primeinator is offline   Reply With Quote
Old 2009-07-22, 05:09   #14
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

3×7×167 Posts
Default

I'm sure this has been covered before, but could a switch from looking for Mersennes to looking for perfect numbers be beneficial? We may be doing this ass-backwards, maybe searching for perfect numbers is the better plan.
jasong is offline   Reply With Quote
Old 2009-07-22, 05:16   #15
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

3·5·61 Posts
Default

Quote:
Originally Posted by jasong View Post
I'm sure this has been covered before, but could a switch from looking for Mersennes to looking for perfect numbers be beneficial? We may be doing this ass-backwards, maybe searching for perfect numbers is the better plan.
I don't think so...because look at the form of the associated perfect number. It still requires knowing 2^n to find a perfect number, defeating the whole purpose of looking for mersenne associated perfect numbers to find a mersenne prime. One could consider using the factor scheme to construct such a number, but then you still don't have the means of knowing if 2^n -1 is prime without testing, once again defeating the whole purpose. It is a nice idea though.

Last fiddled with by Primeinator on 2009-07-22 at 05:26
Primeinator is offline   Reply With Quote
Old 2009-07-22, 05:33   #16
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

2×7×132 Posts
Default

Quote:
Originally Posted by jasong View Post
but could a switch from looking for Mersennes to looking for perfect numbers be beneficial?
Nobody knows how to do that. The only reasonable method known to find even perfect numbers is to first find Mersenne primes. It's unlikely a better approach will be found because it would automatically give an approach to testing Mersenne primes that is better than the Lucas-Lehmer test - a very tough standard.
wblipp is offline   Reply With Quote
Old 2009-07-22, 14:05   #17
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17·251 Posts
Default

Quote:
Originally Posted by jasong View Post
I'm sure this has been covered before, but could a switch from looking for Mersennes to looking for perfect numbers be beneficial? We may be doing this ass-backwards, maybe searching for perfect numbers is the better plan.
I was thinking the same thing, with circular reasoning: I thought if
2^p-1=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)} (a mathematical form of the series of all factors given previously, caring only about the sum it produces)
then 2^p-1 must be prime, but in fact the sum of all of the factors of 2^p-1 is only represented by the above equation when 2^p-1 is prime (the equation is always true, what you might take it to imply isn't). Like others have said, there is no easy way to find perfect numbers directly.

Last fiddled with by Mini-Geek on 2009-07-22 at 14:06
Mini-Geek is offline   Reply With Quote
Old 2009-07-22, 14:58   #18
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

3×5×61 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
I was thinking the same thing, with circular reasoning: I thought if
2^p-1=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)} (a mathematical form of the series of all factors given previously, caring only about the sum it produces)
then 2^p-1 must be prime, but in fact the sum of all of the factors of 2^p-1 is only represented by the above equation when 2^p-1 is prime (the equation is always true, what you might take it to imply isn't). Like others have said, there is no easy way to find perfect numbers directly.
Shouldn't this be: Pn  of  Mp=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)}

aka the associated perfect number of any mersenne prime is denoted by the sum of all its proper factors as shown by the sum of the two series. Alternatively...you could represent it this way as well:

(2^p -1)(2^{p-1})=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)}

Last fiddled with by Primeinator on 2009-07-22 at 15:07
Primeinator is offline   Reply With Quote
Old 2009-07-22, 15:04   #19
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

22·5·72·11 Posts
Default

Quote:
Originally Posted by alpertron View Post
Except when a=b. Let's get the factors of 9. 1 is paired with 9, and 3 is paired with...
Someone is failing to draw the distinction between "factors" and "distinct factors".

Paul

Last fiddled with by xilman on 2009-07-22 at 15:04 Reason: Fix tyop
xilman is offline   Reply With Quote
Old 2009-07-22, 15:04   #20
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by Primeinator View Post
Shouldn't this be: Pn  of  Mp=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)}

aka the associated perfect number of any mersenne prime is denoted by the sum of all its proper factors as shown by the sum of the two series. Alternatively...you could represent it this way as well:
Yes, my mistake.
Quote:
Originally Posted by Primeinator View Post
(2^p -1)(2^(p-1))=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)}
Though here it should be known that on the second function on the left side of the equation, the entire part p-1 is exponentiated, but it is hard to tell for some reason (I'm not very good with Tex)
(2^p -1)(2^{p-1})=\sum_{i=0}^{p-1} {2^i}  + \sum_{j=0}^{p-2} {2^j(2^p-1)}
Use {} to do what you're trying to do. 2^{p-1} instead of 2^(p-1).
Mini-Geek is offline   Reply With Quote
Old 2009-07-22, 15:08   #21
Primeinator
 
Primeinator's Avatar
 
"Kyle"
Feb 2005
Somewhere near M52..

39316 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Use {} to do what you're trying to do. 2^{p-1} instead of 2^(p-1).
Thanks, that does make a big difference! I need to get into the habit of using tex instead of just typing things out.
Primeinator is offline   Reply With Quote
Old 2009-07-22, 19:59   #22
David John Hill Jr
 
David John Hill Jr's Avatar
 
Jun 2003
Pa.,U.S.A.

22·72 Posts
Default A case where the perfect rendition might be faster

I had been meaning to post this elsewhere , but this looks like a better place.

Of very rare occurence and usage.

Begin at (p-1)!+1= K*p (AS befitting Wilson's theorem.)

Perform K+1, then as given 2^p-1 and a corresponding 2^(p-1), then
2^(p-1) | K+1

In reverse , as an integer multiple of 2^(p-1) subtract 1, and one has K, the
Wilson's theorem proof coefficient.

Two cases where this appears to hold(and possibly on up by induction)
is 2^3-1 and 2^7-1.(and should therefor really be included in the given statement)


As 'academic' to the whole picture that this may appear, they are(exist) cases
where going the perfect way should be a lot faster than full scale wilson calculation.
David John Hill Jr is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd Perfect Numbers davar55 Miscellaneous Math 16 2011-01-29 01:53
GMP-ECM crashing for large numbers or high RAM use lavalamp Software 6 2011-01-06 05:29
Small range with high density of factors hbock Lone Mersenne Hunters 1 2004-03-07 19:51
Perfect Numbers MajUSAFRet Math 3 2003-12-13 03:55
Odd Perfect Numbers Zeta-Flux Math 1 2003-05-28 19:41

All times are UTC. The time now is 08:21.


Mon Aug 2 08:21:33 UTC 2021 up 10 days, 2:50, 0 users, load averages: 1.61, 1.99, 1.77

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.