Anonymous user
Smarandache prime-digital sequence: Difference between revisions
m
→{{header|Haskell}}
Line 667:
smarandache = [2,3,5,7] <> s [2,3,5,7] >>= \x -> guard (isPrime x) >> [x]
where
nextSPDSTerms :: [Int] -> [(String, String)]
|