Jump to content

Smarandache prime-digital sequence: Difference between revisions

m
Line 656:
</pre>
=={{header|Haskell}}==
Using the optimized approach of generated numbers from prime digits and testing for primality.
<lang haskell>{-# LANGUAGE NumericUnderscores #-}
import Control.Monad (guard)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.