Sequence of primes by trial division: Difference between revisions
Sequence of primes by trial division (view source)
Revision as of 21:57, 17 January 2021
, 3 years ago→{{header|Prolog}}
Line 1,866:
lazy_list(accumulate, 1/W, L).
accumulate(M/[A|As], N/As, N) :-
roll235wheel(Limit, A) :-
wheel235(W),
Line 1,895 ⟶ 1,894:
X = 997.
</pre>
=={{header|PureBasic}}==
<lang PureBasic>EnableExplicit
|