Skip to content

Commit

Permalink
97. Find the last ten digits of the non-Mersenne prime: 28433 × 2^783…
Browse files Browse the repository at this point in the history
…0457 + 1.
  • Loading branch information
sankara committed Jan 30, 2010
1 parent 8c8ec6e commit 1de3928
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/clojure/euler/97-non-mersenne-prime.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
(ns euler.97
(:use clojure.contrib.math))
(println (time (str (inc (* 28433 (expt 2 7830457))))))

;8739992577

0 comments on commit 1de3928

Please sign in to comment.