Search results

  • Uses sieves for the prime factor sums and prime divisor sums, assumes that the first Ru ...
    58 KB (6,153 words) - 00:10, 4 February 2024
  • The classic David Turner's 1983 (1976? 1975?) SASL code repeatedly ''sieves'' a stream of candidate numbers from those divisible by a prime at a time, Explicating the run-time list of ''filters'' (created implicitly by the sieves above) as a list of ''factors to test by'' on each segment between the cons ...
    119 KB (12,980 words) - 11:28, 4 February 2024
  • Uses sieves, counts 1 as a multiplicatively perfect number.<br> ...
    50 KB (4,426 words) - 21:38, 9 May 2024
  • Now these functional incremental sieves are of limited use if one requires ranges of billions as they are hundreds ...generation algorithm outlined in the paper, "Two Compact Incremental Prime Sieves" by Jonathon P. Sorenson. This algorithm is essentially a rolling segmented ...
    279 KB (35,792 words) - 15:18, 3 December 2023
  • ...n using a prime sieve, but the primeSieve function is quite slow for large sieves. Since calling task(N) with N equal to 1e7 is sufficient to achieve the pr ...
    67 KB (7,399 words) - 12:17, 6 February 2024
  • (*) For large sieves, gojq will consume a very large amount of memory. ...
    70 KB (7,398 words) - 19:22, 9 March 2024
  • Although they use a lot of memory, sieves usually produce good results in Wren and here we only need to sieve for pri ...
    97 KB (7,727 words) - 09:01, 23 December 2023
  • Simple brute force (no sieves, memoization or bigint.ProbablyPrime) as there is not much need for speed h ...
    108 KB (12,435 words) - 10:41, 15 February 2024
  • # Fill both sieves in a single pass. ...
    87 KB (8,765 words) - 18:03, 26 March 2024
  • the specification as closely as possible (no prime sieves or calls ...
    146 KB (9,607 words) - 16:32, 9 February 2024
  • ...wheels), packing the sieve into bits to improve locality (and allow larger sieves), etc. ...lang="chapel">// yield prime and remove all multiples of it from children sieves ...
    795 KB (104,375 words) - 09:48, 30 May 2024
  • {{task|Sieves}} ...
    145 KB (17,128 words) - 18:14, 3 May 2024
  • ;; each number; rather sieve them. Prime sieves by their very nature are at least memory bound... ...
    164 KB (19,780 words) - 21:57, 9 April 2024
  • ...g one number) and [[Sieve of Eratosthenes]]. The latter has trial-division sieves in it, that really don't belong but can't properly go into the former. They ...
    88 KB (13,169 words) - 01:53, 1 August 2023
  • Often short functional sieves are not a true implementations of the Sieve of Eratosthenes: ...
    328 KB (39,166 words) - 07:15, 15 May 2024