Sequence of primes by trial division: Difference between revisions
Sequence of primes by trial division (view source)
Revision as of 21:58, 17 January 2021
, 3 years ago→{{header|Prolog}}
Line 1,867:
accumulate(M/[A|As], N/As, N) :- N is M + A.
roll235wheel(Limit, A) :-
wheel235(W),
|