Created
January 15, 2026 07:21
-
-
Save Hermann-SW/61f86acd5a93b0acdf205dfd2f0b2f7a to your computer and use it in GitHub Desktop.
Script to compute a(11) for oeis sequence A331876 (Euler polynomial)
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=0, 10^n, isprime(k^2 + k + 41)); | |
| default(threadsizemax,1000*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
Same computation with 16C/32T server with AMD 7950X CPU (5.5× slower):
Same computation with 28C/56T 2-socket server with Intel Xeon E5-2680v4 CPUs (7× slower — 14/11=1.2727× slower than 7950X):
Both servers together are roughly1/3rd of x3950-X6 (1/5.5+1/7=0.325) compute power.