Created
March 28, 2013 10:38
-
-
Save atton/5262270 to your computer and use it in GitHub Desktop.
ryudai.rb 005 謎の素数
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
(0..Float::INFINITY).lazy.select{|a| (a % 2 != 0) && (a % 3 != 0)}.take(1000).to_a.last |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment