Skip to content

Instantly share code, notes, and snippets.

@hwiorn
Last active December 17, 2015 14:38
Show Gist options
  • Save hwiorn/5625534 to your computer and use it in GitHub Desktop.
Save hwiorn/5625534 to your computer and use it in GitHub Desktop.

Revisions

  1. hwiorn revised this gist May 22, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion euler0007.scala
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    Stream.from(2).filter{BigInt(_).isProbablePrime(8)}(10001-1)
    println(Stream.from(2).filter{BigInt(_).isProbablePrime(8)}(10001-1))
  2. hwiorn revised this gist May 22, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion euler0007.scala
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    Stream.from(2).filter{BigInt(_).isProbablePrime(5)}(10001)
    Stream.from(2).filter{BigInt(_).isProbablePrime(8)}(10001-1)
  3. hwiorn created this gist May 22, 2013.
    1 change: 1 addition & 0 deletions euler0007.scala
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Stream.from(2).filter{BigInt(_).isProbablePrime(5)}(10001)