Is There a Quick Formula for Calculating Perfect Numbers?

  • Thread starter harisma
  • Start date
  • Tags
    Formula
In summary, the conversation discussed a formula for calculating perfect numbers and the use of Mersenne primes in the formula. It was mentioned that the formula works for the first 15 perfect numbers but has not been tested for larger numbers. There was also a discussion about using arithmetic progression to find Mersenne primes and the idea was brought up to use the formula to calculate odd primes.
  • #1
harisma
3
0
Hi there:)

I found a quick formula for calculate perfect numbers.

T(v)={{[1+sqrt(1+8*T(v-1))]*[1+sqrt(1+8*T(k))]}^2}/128 - {[1+sqrt(1+8*T(v-1))]*[1+sqrt(1+8*T(k))]}/16

T(v-1) is the previous perfect number and T(k) is ONE of the previous, that is to say that k=(1 or 2 or ...or v)

This formula works fine for first 15 perfect numbers but i don't have the knowledge in computer's to test it in biggers perfects.

If the formula is right, then to find the 41 perfect number we have to check only 40 numbers!

If anyone has the knowledge in programing to test the formula that will be pretty good!
 
Last edited:
Physics news on Phys.org
  • #2
This matter is about 2^(n-1)(2^n-1). In this case 2^n-1 is a prime, to be exact, called a Mersenne prime, of which much research has been done.

To find the sum of the factors (1+2+4+++2^(n-1)(1+2^n-1) =(2^n)(2^2), which is twice the original number, (since the number itself is counted as a divisor.)

So that the matter is all about determining if 2^n-1 is a prime or not. That seems to be as easy a way to proceed as any.
 
  • #3
Looking at what you are doing in more detail, I take it that if we go through all the math, we are really saying that if 2^K-1 is prime and 2^m-1 is also a Mersenne prime, then by adding exponents and subtracting 1 we find that 2^(p+k-1)-1 is also a Mersenne prime.

Looking at Mersenne primes for N=2,3,5,7,13,17, 19, 31, 67, 127, 257...Of course disregard N=2, but proceeding to 496 and 8128, for N=5 and N=7, we would expect N=11 to be the next case, but N=13 is the next case. However for N=7 and N=13, the case of N=19, works out. Just as it does for 28 and 496, where N=3+5-1 =7, giving us the case of 8128. (The easiest and most likely case to test.)

You will observe that the list above of M. primes gets thinner and thinner so that no two of them can add up to 257. Your idea would allow an arithmatic sequence of primes. Of course, no such thing is know.
 
Last edited:
  • #4
Tao and Green: existence of arbitrary length arithmetic sequences of primes.
 
  • #5
Your idea would allow an arithmatic sequence of primes. Of course, no such thing is know.

Oops! I guess it is known. But it could not fit this case using any of the perfect numbers, as indicated by harisma.
 
Last edited:
  • #6
Hello again!

Its not exactly an arithmetic sequence of primes . Its not a sequence because formula gives and others numbers, that they I don’t have some interest. Is a better way to calculate perfect numbers (and Mersenne’s prime’s of course).
But to be sure for this, must someone test it in bigger perfects!
 
  • #7
The formula is wrong :/ it's not working in bigger perfects:(

Thank you!
 
  • #8
harisma: The formula is wrong :/ it's not working in bigger perfects.

I thought Mr. Harisma that I had explained that: Of course disregard N=2, but proceeding to 496 and 8128, for N=5 and N=7, we would expect N=11 to be the next case, but N=13 is the next case.

However, I did make the mistake of generalizing this from the standpoint of an arithmetical progression. But there is no way in which any of your cases could allow us to progress to p=257, because the sum of 67 + 127 -1= 193, which is not a Mersenne prime, that is: 2^(193)-1 is not prime. (You will observe that the list of M. primes gets thinner and thinner so that no two of them can add up to 257.)
 
Last edited:
  • #9
[tex]T_v=\frac{{(1+\sqrt{1+8T_{v-1}})*(1+\sqrt{1+8T_{k}})}^2}{128} - \frac{(1+\sqrt{1+8T_{v-1}})*(1+\sqrt{1+8T_{k}})}{16}[/tex]

For the sake of making it easier to read, I think that's what you were trying to say^^
 
Last edited:
  • #10
Can you give us a formula to calculate odd primes? :)
 

What is a Perfect Number?

A Perfect Number is a number that is equal to the sum of its proper divisors (positive divisors excluding the number itself). The first four perfect numbers are 6, 28, 496, and 8128.

Why is Finding Perfect Numbers Important?

Perfect numbers have been studied for centuries and have intrigued mathematicians due to their unique properties. They have applications in many areas of mathematics and have also been linked to topics such as prime numbers and Mersenne primes.

What is the Current Perfect Number Formula?

The current formula for finding perfect numbers is 2^(p-1)*(2^p - 1), where p is a prime number. However, this formula only works for the first few perfect numbers and it is currently unknown whether there are any odd perfect numbers.

What is the Proposed New Perfect Number Formula?

The proposed new formula for finding perfect numbers is still being researched and developed. It aims to be more efficient and potentially even find new perfect numbers that the current formula cannot.

How Can the New Perfect Number Formula Benefit Mathematics?

If the new formula is successful, it could lead to the discovery of more perfect numbers and potentially reveal new insights into the properties of numbers. It could also have practical applications in fields such as cryptography and computer science.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
327
  • Advanced Physics Homework Help
Replies
0
Views
209
Replies
20
Views
644
  • Introductory Physics Homework Help
2
Replies
38
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
205
Replies
11
Views
2K
Replies
5
Views
2K
Replies
7
Views
1K
  • Special and General Relativity
Replies
1
Views
1K
  • Introductory Physics Homework Help
Replies
24
Views
1K
Back
Top