Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

3 lines (3 sloc) 0.111 kb
euler1 :: Int -> Int
euler1 = sum . mult35
where mult35 n = [ x | x <- [1..n-1], mod x 3 == 0 || mod x 5 == 0]
Jump to Line
Something went wrong with that request. Please try again.