Skip to content

Instantly share code, notes, and snippets.

@HamsterofDeath
Created January 21, 2012 12:36
Show Gist options
  • Save HamsterofDeath/1652661 to your computer and use it in GitHub Desktop.
Save HamsterofDeath/1652661 to your computer and use it in GitHub Desktop.
object FindX {
def main(args: Array[String]) {
val lowest = 0.to(Integer.MAX_VALUE, 13) find {
e => {
2 to 12 forall {e % _ == 1}
}
}
println(lowest)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment