We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My original code used a sieve of Erastosthenes (search for Will Ness' postponed sieve with O(sqrt(n)) space complexity) but it is possible to use a one-liner as the number of primes is limited to reach a product of .
Leonardo's Prime Factors
You are viewing a single comment's thread. Return to all comments →
My original code used a sieve of Erastosthenes (search for Will Ness' postponed sieve with O(sqrt(n)) space complexity) but it is possible to use a one-liner as the number of primes is limited to reach a product of .