Yeah, I can't run that. Not even close. I got a Cursor subscription and have been using Grok 4.5. It seems to be the best bang for the buck.
I had it port some math code to CUDA so I could get some larger results. It spit out a number in an hour that would have taken days on my CPU and my CPU isn't slow.
Now I need about 2 days to get the next number 😛 and 4 months to get the one after that and 20 years to get the one after that.
I need more compute!!!
For science!!!
Just to nerd snipe you. The numbers l am looking for are:
The largest gap between successive pairs of twin coprimes in the nth wheel sieve.
Basically you find all the numbers less than the the first n primes multiplied together, p_n#, and coprime to it. Then isolate the twins, then find their central numbers. E.G. 12 for (11,13) and 18 for (17,19) then you find the gap between them. 6 in the example above. For 2*3*5=30 the centers are 0,12,18,30. So the largest gap is 12
The wheels are symmetric so you really only need to search the first half taking care to double the middle gap. So in our example above I count to 15, noting the gap of 12 then count 3 more to get to 15, double that to get 6. 12 is bigger than 6 so keep that. No need to do 30-18, that's just 12 again.
Same with larger wheels n=4, 2*3*5*7=210 and so on. Blows up fast. I have done to n=14.
Why? Well any element of the set < p_n^2 is prime if the maximum gap is < p_n^2 then no matter how well orchestrated the primes are in eliminating twin elements then there will always be some twin elements that are prime.
So I am trying to figure out what grows faster max_gap or p_n^2. So far the ratio p_n^2/max_gap is 3.2 or something and somewhat consistent. But still a long way to infinity.
