Prime Numbers in C++ 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 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 Gray Code Decoder Gray Code Encoder Hexagonal Spiral Highly Composite Numbers NFA Simulator Numbrix Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial All Languages ><> ALGOL 68 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 ArkScript 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 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 ArkScript 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 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 Gray Code Decoder Gray Code Encoder Hexagonal Spiral Highly Composite Numbers NFA Simulator Numbrix Odd Polyomino Tiling p-adic Expansion Polygon Triangulations QR Encoder Quadratic Formula Semiprime Numbers Smooth Numbers Snake Sphenic Numbers Taxicab Numbers Turtle Tutorial # Golfer Points Bytes Time Submitted 1st JayXon 🇺🇸 1,000 73 59ms 10 Mar 2025 2nd solmyr2000 986 74 62ms 21 Jun 2022 3rd primo-ppcg 🇹🇭 961 76 64ms 18 Jan 2022 3rd inventshah 961 76 58ms 22 Nov 2022 3rd KasperKivimaeki 🇫🇮 961 76 439ms 19 Nov 2025 6th prplz 🇦🇺 948 77 61ms 2 Jan 2022 6th nwellnhof 🇩🇪 948 77 64ms 3 Jan 2022 6th michael-pruglo 🇺🇦 948 77 63ms 13 Jul 2022 6th xsot 🇸🇬 948 77 435ms 30 Jan 2024 6th snyderek 🇺🇸 948 77 60ms 13 Oct 2024 6th Herbert00709 🇵🇱 948 77 69ms 16 Oct 2024 6th wojtekmal 948 77 60ms 6 Sep 2025 13th Irratix 🇳🇱 936 78 56ms 3 Aug 2023 13th m-tkach 🇺🇦 936 78 492ms 12 Oct 2023 13th roupiq 🇵🇱 936 78 57ms 14 Apr 2024 13th ovs-code 🇩🇪 936 78 61ms 4 May 2024 13th sean-niemann 🇺🇸 936 78 64ms 17 Jan 2025 13th emgordon154 936 78 59ms 8 Feb 2026 19th iakolzin 924 79 60ms 2 Jun 2022 19th Steffan153 🇫🇮 924 79 58ms 30 Oct 2022 19th DialFrost 🇸🇬 924 79 66ms 3 Nov 2023 22nd CatsAreFluffy 913 80 60ms 18 Feb 2023 22nd AdrienHache 🇫🇷 913 80 60ms 6 Jan 2024 22nd SadiinsoSnowfall 🇫🇷 913 80 57ms 5 Mar 2024 22nd oceko 913 80 50ms 5 Mar 2024 22nd tailorspy 913 80 62ms 5 Aug 2024 22nd qwertyuiop3 🇷🇺 913 80 60ms 15 May 2025 22nd fuzzylojik-golf 🇺🇸 913 80 56ms 14 Aug 2025 29th janbehrens 🇩🇪 901 81 60ms 8 Jan 2022 29th jared-hughes 901 81 58ms 24 Oct 2022 29th Yewzir 🇧🇪 901 81 63ms 20 May 2023 29th Betuaredead 901 81 62ms 14 Nov 2023 29th zygoloid 901 81 58ms 4 Aug 2024 29th lailai0916 901 81 483ms 17 Aug 2024 29th pardouin 🇫🇷 901 81 59ms 24 Aug 2024 36th MeWhenI 🇻🇦 890 82 66ms 8 May 2022 36th Alex-x90 🇺🇸 890 82 62ms 20 Sep 2022 36th annaproxy 890 82 76ms 7 Jan 2023 36th Shanethegamer 🇺🇸 890 82 61ms 29 Mar 2023 36th byronknoll 🇺🇸 890 82 59ms 1 Feb 2024 36th dokutan 890 82 67ms 14 Jul 2025 42nd jxy2012 880 83 486ms 27 Aug 2024 43rd ndren 869 84 59ms 2 Aug 2023 43rd CornerMercury 🇬🇧 869 84 59ms 2 Aug 2023 45th H3Rol4x 830 88 61ms 23 Dec 2022 45th timhaj 🇸🇮 830 88 64ms 17 Sep 2025 47th MateuszPietrzak 🇵🇱 820 89 58ms 28 Jan 2024 48th Ripick 793 92 60ms 23 Jul 2022 48th retrohun 793 92 62ms 28 Dec 2022 48th luuumine 🇫🇷 793 92 62ms 10 Dec 2025 51st Seek64 🇩🇪 785 93 67ms 15 Nov 2022 51st bac0id 785 93 64ms 23 Feb 2024 53rd Re-Adventures 🇮🇳 768 95 60ms 2 Jan 2022 53rd veehz 768 95 66ms 21 Feb 2023 53rd snoozingnewt 🇨🇦 768 95 466ms 6 Oct 2025 56th gjoacorp 🇬🇧 760 96 63ms 3 Aug 2025 56th Garklein 🇨🇦 760 96 77ms 6 hours ago 58th cmayer777 753 97 61ms 7 Nov 2022 58th astdefu 753 97 63ms 13 Dec 2022 58th HumanoidCPU 753 97 56ms 3 Feb 2024 61st f-tucker 745 98 65ms 8 Jan 2024 62nd MaxElf999 737 99 62ms 12 Dec 2022 62nd namcartoon06 737 99 62ms 15 Jul 2023 64th ei14 730 100 65ms 18 Jun 2022 65th Domicnt 723 101 63ms 16 Feb 2023 65th novaspaced 723 101 73ms 30 Jan 2026 67th Walter225 716 102 62ms 10 Jul 2023 68th JGDoerrer 709 103 505ms 5 Jan 2022 68th tomh1012 709 103 1,547ms 18 days ago 70th jorbDehmel 🇺🇸 695 105 64ms 17 Jun 2023 70th BpbjsGreen 🇨🇳 695 105 61ms 7 Jul 2024 72nd CaedenHarper 🇨🇦 689 106 55ms 23 Jan 2025 72nd balloffur 689 106 444ms 23 Dec 2025 74th SnivyLlama 682 107 456ms 28 May 2022 74th osmith93 682 107 64ms 14 Jun 2022 76th msbranicky 676 108 62ms 22 Aug 2023 76th nents 676 108 445ms 24 Jan 2025 76th matejmatik123 🇸🇰 676 108 1,410ms 26 Sep 2025 79th inverseLorentz 🇦🇺 652 112 70ms 12 Oct 2023 79th Andrey2001 652 112 65ms 29 Jan 2026 1–80 of 126 Next Last