I'm curious if anyone has noticed that all numbers that are primes must end in a 1, 3, 7, or 9, and that you can tell which ones don't by simply multiplying previous primes together and their exponents.
So p*p & p^n will never be prime
p*p always lines up with a potential prime
p^n doesn't but I'd bet there is some pattern to where it does, something like where n is odd or something like that.
This tells you where there wont be a prime in the 1, 3, 7, 9 thing and so I'd think that this can be inverted somehow to tell you where all the primes are. I didn't track this very far, cuz I was doing it manually so I only got to 300, but I see no reason why this wouldn't continue on like this. It is however a really simple thing so I would have expected someone to come up with this ages ago and thus there must be some problem with it... I'm just curious.
Oh also, this explains why there are ever bigger gaps in primes. It's somewhat like an avalanche Early you're only dealing with a few numbers that are being multiplied together but as you go further you're dealing with more primes multiplying together to create holes.