I wrote a function, GetCumulativePrimeSpacing[i], in Mathematica to return the interference pattern created by all primes up to the ith prime. This sequence works for finding primes up to the next prime squared. I have obtained some interesting results.

Some interesting results are that the Length and Total of this sequence are related to the Primorial[i]. The count of 2s and 4s in the sequence is equal to the product of primes as well.

I have some ideas on what to do with these results but I'd like to hear thoughts from the experts first.

Any help would be appreciated.

Thank you.

More Andrew Fuchs's questions See All
Similar questions and discussions