Skip to content

Instantly share code, notes, and snippets.

@kazua
Created January 23, 2013 15:33
Show Gist options
  • Save kazua/4608229 to your computer and use it in GitHub Desktop.
Save kazua/4608229 to your computer and use it in GitHub Desktop.
Project Euler Problem 97
//http://odz.sakura.ne.jp/projecteuler/index.php?cmd=read&page=Problem%2097
//K.A
object problem97 {
def problem97 = (28433 * (BigInt(1) << 7830457) + 1) % BigInt(10).pow(10)
def main(args : Array[String]) {
println(problem97)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment