Is This Formula for Generating Primes New?

  • Context: Graduate 
  • Thread starter Thread starter Loren Booda
  • Start date Start date
  • Tags Tags
    Generator Prime
Click For Summary

Discussion Overview

The discussion centers around a proposed formula for generating prime numbers, specifically the expression \(\prod_{n=1}^Np_n-1=p_Z\). Participants explore its potential effectiveness compared to existing methods, such as Mersenne primes, and question whether this formula represents a new discovery in prime generation.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a formula that they believe may generate more primes than the Mersenne method, noting it requires knowledge of all primes up to the Nth prime.
  • Another participant asserts that the formula has been used to prove the infinitude of primes and is well-known, suggesting that larger values of N may yield fewer primes.
  • A third participant provides a specific example using the formula, indicating that the idea is not new.
  • A fourth participant references an external source related to sequences of primes, implying further exploration of the topic.

Areas of Agreement / Disagreement

Participants express differing views on the novelty of the formula. While one participant believes it could be a new discovery, others indicate that it is already established knowledge. The discussion remains unresolved regarding the formula's uniqueness and effectiveness.

Contextual Notes

There are limitations regarding the assumptions made about the formula's effectiveness and the conditions under which it may or may not generate primes. The discussion does not resolve these aspects.

Loren Booda
Messages
3,115
Reaction score
4
Somewhere between brute force and Mersenne derivation of primes is the formula I found,

[tex]\prod_{n=1}^Np_n-1=p_Z[/tex]

I guess it would generate more primes pZ than Mersenne in a given interval, but requires knowledge of all primes to pN, the Nth prime. It may produce only primes, rather than Mersenne's hit-or-miss search. The pn here are supposed to follow 2, 3, 5, 7, 11, 13, 17...pN, but the formula might work somewhat with an incomplete sequence of primes.

Have I discovered anything new here? The equation is so simple and effective that it must have already been found.
 
Physics news on Phys.org
Loren Booda said:
Somewhere between brute force and Mersenne derivation of primes is the formula I found,

[tex]\prod_{n=1}^Np_n-1=p_Z[/tex]

I guess it would generate more primes pZ than Mersenne in a given interval, but requires knowledge of all primes to pN, the Nth prime. It may produce only primes, rather than Mersenne's hit-or-miss search. The pn here are supposed to follow 2, 3, 5, 7, 11, 13, 17...pN, but the formula might work somewhat with an incomplete sequence of primes.

Have I discovered anything new here? The equation is so simple and effective that it must have already been found.
The above formula has been used to prove that there are an infinite number of primes and is well known. Unfortunately I believe the larger n is the less chance that the number is prime even though it is clear that all primes up through the Nth prime do not divide this number.
 
2*3*5*7*11*17-1 = 107*367

(you are not the first one with this idea :wink:)
 
See http://www.research.att.com/~njas/sequences/A005265 and related sequences.
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
69
Views
10K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
1
Views
4K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 11 ·
Replies
11
Views
6K