Yeti
Joined 24 August 2022
m
→Python/Primes/FSOE
Line 28:
Is there really no simpler way to drop the top of stack that works for strings and numbers and in all versions of Dc?
=Python/Primes/
{{works with|Python|2.x}}
This is a sequentialised variant of the well known sieve method (ab)using a dictionary as sparse array.
|