Skip to content

Instantly share code, notes, and snippets.

@mikamix
Created March 20, 2014 14:32
Show Gist options
  • Save mikamix/9665046 to your computer and use it in GitHub Desktop.
Save mikamix/9665046 to your computer and use it in GitHub Desktop.
import Data.Char
euler16 = sum . (map digitToInt) . show
main = print $ euler16 (2 ^ 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment