euler/haskell/euler003.hs

6 lines
87 B
Haskell

module Main where
import Prime
main = do
print (last (primeFactors 600851475143))