Created
November 10, 2013 15:44
-
-
Save johnwalker/7399731 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns power-digit-sum | |
| (:use [clojure.math.numeric-tower])) | |
| (->> (expt 2N 1000) | |
| (str) | |
| (map str) | |
| (map read-string) | |
| (apply +)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment