Prime Numbers in Ruby in bytes. Achievements Cheevos Holes Languages Medals Miscellaneous All Holes 12 Days of Christmas 24 Game 99 Bottles of Beer Abundant Numbers Abundant Numbers (Long) Arabic to Roman Arithmetic Numbers Arrows Ascending Primes ASCII Table Billiards brainfuck Calendar Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz Continued Fractions CSS Colors Cubes Day of Week DFA Simulator Diamonds Divisors Emirp Numbers Emirp Numbers (Long) Emojify Evil Numbers Evil Numbers (Long) Factorial Factorisation Farey Sequence Fibonacci Fizz Buzz Foo Fizz Buzz Bar Forsyth–Edwards Notation Fractions Game of Life Gijswijt’s Sequence Gray Code Decoder Gray Code Encoder Happy Numbers Happy Numbers (Long) Hexdump Hilbert Curve Intersection Inventory Sequence ISBN Jacobi Symbol Kaprekar Numbers Kolakoski Constant Kolakoski Sequence Leap Years Levenshtein Distance Leyland Numbers ln 2 Look and Say Lucky Numbers Lucky Tickets Mahjong Mandelbrot Maze Medal Tally Minesweeper Morse Decoder Morse Encoder Multitap Input Musical Chords N Queens Niven Numbers Niven Numbers (Long) Number Spiral Odious Numbers Odious Numbers (Long) Ordinal Numbers PalindromemordnilaP Pangram Grep Partition Numbers Pascal’s Triangle Pernicious Numbers Pernicious Numbers (Long) Poker Polyominoes Prime Numbers Prime Numbers (Long) Proximity Grid QR Decoder Quine Recamán Repeating Decimals Reverse Polish Notation Reversi Rijndael S-box Rock-paper-scissors-Spock-lizard Roman to Arabic ROT13 Rule 110 Scrambled Sort Set Seven Segment SI Units Sierpiński Triangle Smith Numbers Spelling Numbers Star Wars GPT Star Wars Opening Crawl Sudoku Sudoku (Fill-in) Ten-pin Bowling Tic-tac-toe Time Distance Tongue-twisters Topological Sort Tower of Hanoi Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Alphabetic Numbers Apéry’s Constant Binary Lambda Calculus Connect Four Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Hexagonal Spiral Highly Composite Numbers NFA Simulator Numbrix Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Rectangle Fill Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial All Languages ><> ALGOL 68 ArkScript Assembly AWK Bash BASIC Berry brainfuck C C# C++ Civet Clojure COBOL Coconut Common Lisp Crystal D Dart Elixir Erlang F# Factor Forth Fortran Gleam Go GolfScript Groovy Haskell Hexagony J Janet Java JavaScript jq Julia K Kotlin Lua Nim OCaml Pascal Perl PHP PowerShell Prolog Python R Raku Rockstar Ruby Rust Scheme sed SQL Swift Tcl TeX V VimL Wren Zig 05AB1E APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Lily Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Bytes Chars Scoring Bytes Chars Language All ><> ALGOL 68 ArkScript Assembly AWK Bash BASIC Berry brainfuck C C# C++ Civet Clojure COBOL Coconut Common Lisp Crystal D Dart Elixir Erlang F# Factor Forth Fortran Gleam Go GolfScript Groovy Haskell Hexagony J Janet Java JavaScript jq Julia K Kotlin Lua Nim OCaml Pascal Perl PHP PowerShell Prolog Python R Raku Rockstar Ruby Rust Scheme sed SQL Swift Tcl TeX V VimL Wren Zig Experimental Language 05AB1E APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Lily Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Hole All 12 Days of Christmas 24 Game 99 Bottles of Beer Abundant Numbers Abundant Numbers (Long) Arabic to Roman Arithmetic Numbers Arrows Ascending Primes ASCII Table Billiards brainfuck Calendar Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz Continued Fractions CSS Colors Cubes Day of Week DFA Simulator Diamonds Divisors Emirp Numbers Emirp Numbers (Long) Emojify Evil Numbers Evil Numbers (Long) Factorial Factorisation Farey Sequence Fibonacci Fizz Buzz Foo Fizz Buzz Bar Forsyth–Edwards Notation Fractions Game of Life Gijswijt’s Sequence Gray Code Decoder Gray Code Encoder Happy Numbers Happy Numbers (Long) Hexdump Hilbert Curve Intersection Inventory Sequence ISBN Jacobi Symbol Kaprekar Numbers Kolakoski Constant Kolakoski Sequence Leap Years Levenshtein Distance Leyland Numbers ln 2 Look and Say Lucky Numbers Lucky Tickets Mahjong Mandelbrot Maze Medal Tally Minesweeper Morse Decoder Morse Encoder Multitap Input Musical Chords N Queens Niven Numbers Niven Numbers (Long) Number Spiral Odious Numbers Odious Numbers (Long) Ordinal Numbers PalindromemordnilaP Pangram Grep Partition Numbers Pascal’s Triangle Pernicious Numbers Pernicious Numbers (Long) Poker Polyominoes Prime Numbers Prime Numbers (Long) Proximity Grid QR Decoder Quine Recamán Repeating Decimals Reverse Polish Notation Reversi Rijndael S-box Rock-paper-scissors-Spock-lizard Roman to Arabic ROT13 Rule 110 Scrambled Sort Set Seven Segment SI Units Sierpiński Triangle Smith Numbers Spelling Numbers Star Wars GPT Star Wars Opening Crawl Sudoku Sudoku (Fill-in) Ten-pin Bowling Tic-tac-toe Time Distance Tongue-twisters Topological Sort Tower of Hanoi Transpose Sentence Trinomial Triangle United States Vampire Numbers Van Eck Sequence Zeckendorf Representation Zodiac Signs γ λ π τ φ √2 𝑒 Experimental Hole Alphabetic Numbers Apéry’s Constant Binary Lambda Calculus Connect Four Crossword CSS Colors (Inverse) CSS Grid Ellipse Perimeters Flags Floyd-Steinberg Dithering Hexagonal Spiral Highly Composite Numbers NFA Simulator Numbrix Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Rectangle Fill Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial # Golfer Points Bytes Time Submitted 65th mnbvczx 🇰🇷 939 33 45ms 12 Mar 2023 65th AlephSquirrel 939 33 41ms 14 Apr 2023 65th FortuiteMan 🇫🇷 939 33 45ms 11 Sep 2023 65th aaronze 🇦🇺 939 33 45ms 21 Sep 2023 65th FlyingPenguin223 939 33 43ms 16 Nov 2023 65th ngthanhtrung23 939 33 46ms 15 Mar 2024 65th LostSyntax21 🇬🇧 939 33 47ms 24 Jul 2025 65th Thinkr1 939 33 41ms 2 Feb 2026 89th ConorOBrien-Foxx 912 34 46ms 2 Jul 2018 89th acornellier 912 34 45ms 8 Dec 2018 89th Yytsi 912 34 45ms 14 Mar 2019 89th Marin-Kitagawa 912 34 44ms 18 Jul 2021 89th pandapawskat 912 34 51ms 7 Oct 2021 89th DaCuteRaccoon 912 34 45ms 16 Apr 2022 89th ls-samer-abuthaher 912 34 44ms 2 Dec 2022 89th annaproxy 912 34 46ms 15 Sep 2023 89th Babafaba 912 34 39ms 15 Oct 2025 89th edsrzf 🇳🇿 912 34 57ms 11 days ago 99th Haksell 🇦🇶 886 35 39ms 6 Apr 2020 99th daninnm 886 35 46ms 23 Jul 2021 99th shellbertt 🇨🇦 886 35 45ms 8 Sep 2021 99th dokutan 886 35 46ms 30 Apr 2024 99th TheZwierzLF 🇵🇱 886 35 46ms 5 Jan 2026 104th clupasq 861 36 47ms 3 Feb 2018 104th tadd 861 36 46ms 16 Apr 2020 104th yzhs 🇩🇪 861 36 37ms 26 Jul 2021 107th j55d 838 37 44ms 4 Dec 2017 107th Secozzi 838 37 44ms 28 Nov 2019 107th kinoute 🇫🇷 838 37 47ms 10 Sep 2021 107th KrausRaus 🇺🇸 838 37 39ms 31 Dec 2021 111th mgergi 816 38 45ms 10 Oct 2018 111th SamirHodzic 816 38 47ms 11 Oct 2018 111th CaAlden 816 38 46ms 9 May 2019 111th reireias 816 38 47ms 30 Jul 2019 111th Mir0ff944 816 38 45ms 4 Apr 2020 111th Gradizer 816 38 48ms 13 Mar 2021 111th typewriter 816 38 44ms 1 Jun 2021 111th JRaspass 🇬🇧 816 38 45ms 21 Apr 2022 111th madex 🇩🇪 816 38 53ms 16 days ago 120th greghull 795 39 49ms 8 Nov 2017 120th robymus 795 39 46ms 18 Sep 2018 120th purp 795 39 47ms 13 Aug 2022 120th aydamak 795 39 38ms 15 May 2024 124th ndren 775 40 46ms 2 Aug 2023 124th BREMAUCY 🇫🇷 775 40 37ms 18 Mar 2024 124th Andriamanitra 🇫🇮 775 40 41ms 25 Feb 2025 127th Boostik 756 41 45ms 8 Jan 2018 127th ajc2 756 41 45ms 1 May 2018 127th segiddins 756 41 46ms 24 Aug 2018 127th giruzou 756 41 51ms 24 Mar 2019 127th 0xddom 756 41 50ms 18 Dec 2019 132nd nlc 738 42 38ms 18 Dec 2017 132nd adoxography 738 42 45ms 10 Oct 2019 134th stevehodges 721 43 45ms 8 Nov 2017 134th graft 721 43 39ms 10 Mar 2018 134th SephQ 721 43 45ms 7 Feb 2021 137th ndimov 705 44 45ms 13 Oct 2017 137th mogron 705 44 45ms 13 Dec 2019 137th sapphyrus 705 44 44ms 18 Feb 2020 137th ninjawarrior1337 705 44 50ms 1 Dec 2021 137th HallMatthew314 705 44 39ms 5 Dec 2021 137th mikiymk 705 44 39ms 21 Sep 2023 143rd somebody1234 689 45 37ms 20 Jan 2020 143rd BrenSchaap 689 45 39ms 13 Nov 2021 145th bbakersmith 674 46 39ms 30 Jul 2021 145th gfund 674 46 45ms 5 Oct 2022 145th jusaka 674 46 49ms 6 days ago 148th Anonymousellama21 660 47 38ms 18 Feb 2022 149th dwayneparton 646 48 37ms 7 May 2020 149th stellartux 646 48 37ms 24 Dec 2023 151st iamsolarpowered 633 49 41ms 15 Dec 2017 151st th1rt3en 633 49 38ms 13 May 2018 151st zstearman3 633 49 45ms 12 Jul 2018 151st atayarani 633 49 45ms 18 Jan 2019 151st HumanoidCPU 633 49 40ms 3 Jul 2024 151st Florian-Mt 633 49 44ms 14 Jul 2024 157th domgetter 608 51 46ms 10 Jun 2020 157th boxjelly 608 51 46ms 11 Feb 2021 159th babcockd 596 52 39ms 19 Dec 2017 159th michaelrychly 596 52 46ms 5 Jun 2019 First Prev 81–160 of 188 Next Last