Pierpont primes: Difference between revisions
Content deleted Content added
Line 941:
</pre>
=={{header|Haskell}}==
Uses arithmoi Library: https://hackage.haskell.org/package/arithmoi-0.11.0.0 for prime generation and prime testing.<br>
n-smooth generation function based on [[Hamming_numbers#Avoiding_generation_of_duplicates]]
<lang haskell>import Control.Monad (guard)
import Data.List (intercalate)
|