Pisano period: Difference between revisions
→{{header|Haskell}}
Line 385:
-- Fermat primality test
probablyPrime :: Integral a => a -> Bool
probablyPrime p = if p < 2 || even
primes :: Integral a => [a]
|
Line 385:
-- Fermat primality test
probablyPrime :: Integral a => a -> Bool
probablyPrime p = if p < 2 || even
primes :: Integral a => [a]
|
edits