Last active
January 10, 2026 14:50
-
-
Save Hermann-SW/fe69d723ddc2b8b6ff7666b747aad1aa to your computer and use it in GitHub Desktop.
Script to verify a(11) for oeis sequence A392244
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a(n)=parsum(k=1, 10^n, isprime(k^2+(k+1)^2)); | |
| default(threadsizemax,100*10^6); \\ default 8MB was too small | |
| # | |
| print(a(11)); |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wow, I expected <10h, but not that much under, nice:
Confirms a(11) value of A392244 computed otherwise before:
https://gist.github.com/Hermann-SW/94241e719dd3518a3276d804b627319d?permalink_comment_id=5929893#gistcomment-5929893
That code did take 14:28h real time, but only because the parallel workload was distributed too unequally.