Significance of calculating non primes in sequence.

Click For Summary
SUMMARY

This discussion centers on an innovative method for calculating non-prime numbers in a sequence using the formulas 6x-1 and 6x+1 for x ranging from 0 to n. The proposed approach eliminates the need for traditional sieving techniques by directly calculating non-primes and subsequently identifying primes through matrix representations. By utilizing indices instead of actual numbers, the method simplifies the process of finding primes, requiring only composite numbers up to N/3. The author plans to share a detailed write-up of this method in the future.

PREREQUISITES
  • Understanding of prime and composite numbers
  • Familiarity with mathematical sequences and indices
  • Basic knowledge of matrix operations
  • Experience with mathematical proofs and algorithms
NEXT STEPS
  • Research the Sieve of Eratosthenes and its limitations
  • Explore advanced matrix theory and its applications in number theory
  • Learn about semi-primes and their significance in cryptography
  • Investigate efficient algorithms for prime number generation
USEFUL FOR

Mathematicians, computer scientists, and anyone interested in number theory, particularly those focused on optimizing prime number calculations and exploring alternative methods to traditional sieving techniques.

idiom
Messages
20
Reaction score
1
Instead of using a sieve to remove non-primes from the sequence.
6x-1 x =0 to x=n
6x+1 x=0 to x= n
What if you calculate and remove the non-primes. I have determined how to calculate the non-primes in this set. By subtracting them from the entire set you are left with all primes. I find this solution efficient because you can precisely calculate all of the semi primes and roots of the set. No factoring of large numbers is necessary. Furthermore it is not necessary to know what is in the set:
6x-1 x =0 to x=n
6x+1 x=0 to x= n
to do this.
Would an array of this nature be useful as opposed to trying to sieve or predict numbers?
Has anyone seen this done and if so where might I find more information about the effort.
If so how do you suggest I present my solution?
Thanks
 
Last edited:
Physics news on Phys.org
I have done the above about 10 years ago. and I will be posting it later. For now I would say just that to get the primes up to N, you only need to consider composites up to N/3.
You start by setting matrices (6i+1)(6j+1)=M1, (6i-1)*(6j-1)=M2 and (6i+1)*(6j-1)=M3.
The nice thing about it is that you really don't need all the "multiplications" to produce the matrices' elements. The second nice thing about the whole thing is that you only need to work with indices instead of the number themselves. A number like 7*7=49 can also be represented by Index(49)=(N-1)/6=(49-1)/6=8. Once you produce the matrices of indices, you have all you need to find the primes. They will be the ones whose indices cannot be produced ( or indices which cannot be a matrix element of M1, M2 or M3 ). Then it's just a matter of sorting out a list of indices from 1,N.
I will try to find a write up and will post it later.
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 26 ·
Replies
26
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K