Prime Numbers (Long) in Java 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 Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz 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 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 𝑒 Apéry’s Constant Binary Lambda Calculus Calendar Connect Four Continued Fractions 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 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 ><> 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 ALGOL 68 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight Luau Odin Picat Qore Racket Rebol Rexx Scala Squirrel Stax Uiua Umka Vala Vyxal Bytes Chars Scoring Bytes Chars Language All ><> 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 ALGOL 68 APL Arturo Befunge BQN CJam CoffeeScript Egel Fennel Harbour Hare Haxe Hush Hy iogii Knight 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 Card Number Validation Catalan Numbers Catalan’s Constant Christmas Trees Collatz 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 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 Apéry’s Constant Binary Lambda Calculus Calendar Connect Four Continued Fractions 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 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 71 375ms 27 Sep 2025 1st DialFrost 🇸🇬 1,000 71 368ms 18 days ago 1st KasperKivimaeki 🇫🇮 1,000 71 364ms 3 mins ago 4th nwellnhof 🇩🇪 986 72 373ms 25 Sep 2025 4th Yax42 🇫🇷 986 72 374ms 3 Oct 2025 4th ScottHamper 986 72 385ms 39 hours ago 7th sean-niemann 🇺🇸 922 77 383ms 24 Sep 2025 7th Shanethegamer 🇺🇸 922 77 386ms 25 Sep 2025 7th namelessiw 922 77 384ms 2 Oct 2025 7th Yewzir 🇧🇪 922 77 394ms 2 Oct 2025 7th stefangimmillaro 922 77 374ms 6 Oct 2025 7th kmathis22 922 77 387ms 24 Oct 2025 7th Jacob385 922 77 379ms 27 Oct 2025 7th MeWhenI 🇻🇦 922 77 384ms 24 days ago 15th dokutan 888 80 350ms 24 Sep 2025 16th h3ra993huskp 🇯🇵 866 82 372ms 2 days ago 17th tigerdan2 🇩🇪 835 85 374ms 2 days ago 18th ethanlally 807 88 336ms 26 days ago 19th CaedenHarper 🇨🇦 772 92 357ms 25 Sep 2025 19th Liibe 772 92 337ms 25 Sep 2025 21st HumanoidCPU 763 93 400ms 23 days ago 22nd snoozingnewt 🇺🇸 755 94 350ms 28 Sep 2025 22nd Schmitt-Very-Cool 755 94 387ms 3 Oct 2025 24th primo-ppcg 🇹🇭 651 109 341ms 5 Dec 2021 24th Lydxn 🇨🇦 651 109 347ms 5 Dec 2021 24th Widgitty 651 109 338ms 23 Sep 2025 27th janbehrens 🇩🇪 623 114 336ms 6 Dec 2021 27th Irratix 🇳🇱 623 114 336ms 7 Dec 2021 27th KrausRaus 🇺🇸 623 114 351ms 15 Dec 2021 27th inventshah 623 114 345ms 27 Apr 2022 27th Steffan153 🇫🇮 623 114 347ms 27 Mar 2023 27th Betuaredead 623 114 349ms 14 Nov 2023 27th SirBogman 🇺🇸 623 114 357ms 3 Jan 2024 27th yoshykai 623 114 314ms 30 Mar 2025 27th eMGeeneer 623 114 342ms 20 Sep 2025 36th prplz 🇦🇺 612 116 350ms 9 Jan 2022 36th sultan 612 116 320ms 27 Mar 2024 38th cbrt-x 602 118 338ms 14 Mar 2022 38th Leftykap 602 118 339ms 6 Sep 2022 40th piano-miles 597 119 342ms 6 Sep 2024 41st Antonio-Vel 573 124 345ms 20 Aug 2022 41st retrohun 573 124 350ms 30 Dec 2022 43rd susvent 568 125 436ms 11 Jul 2024 43rd CutSandstone 568 125 447ms 11 Jul 2024 45th bwat2 563 126 317ms 21 Apr 2022 45th coltraloz 🇪🇸 563 126 301ms 6 Mar 2025 47th shellbertt 🇨🇦 555 128 361ms 6 Dec 2021 47th Carloz69 555 128 319ms 6 Mar 2025 49th bac0id 546 130 317ms 26 Sep 2023 50th lordsnek 534 133 307ms 26 Jan 2024 51st astdefu 530 134 376ms 13 Dec 2022 52nd msbranicky 526 135 368ms 9 Jan 2024 52nd Omega65536 🇩🇪 526 135 358ms 9 Aug 2025 54th GWStuart 522 136 314ms 27 Aug 2022 54th rollershutter 522 136 365ms 25 Jan 2024 54th schaene 522 136 318ms 8 Mar 2024 54th deancureton 522 136 363ms 24 Mar 2024 58th elgan65536 518 137 365ms 15 Mar 2024 58th Florian-Mt 518 137 364ms 14 Jul 2024 58th Benzas01 518 137 301ms 5 Oct 2025 61st melisakmc 507 140 317ms 20 Jan 2022 61st luca1339 507 140 347ms 22 Nov 2024 61st Apataras 507 140 360ms 4 Aug 2025 64th atazzam 🇺🇸 497 143 313ms 23 Jan 2025 65th Pyro569 490 145 359ms 20 Jul 2023 66th eiburns 483 147 313ms 25 Apr 2023 66th Vaekor 483 147 320ms 9 Jul 2023 66th aDwarfNamedUrist 483 147 319ms 11 Sep 2024 69th eshilo-draper 477 149 367ms 4 Sep 2022 69th Ythaenagor 477 149 366ms 5 Aug 2024 71st MaxElf999 473 150 363ms 28 Sep 2022 72nd KaLuAnFo 436 163 332ms 9 Aug 2025 73rd jonah1068 410 173 368ms 15 Sep 2023 73rd 0dyse 410 173 316ms 9 Sep 2025 75th Geird 397 179 354ms 20 Feb 2023 1–75 of 84 Next Last