Prime Numbers 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 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 81st Kusarr 526 133 372ms 17 Dec 2020 81st Bolix7 526 133 395ms 23 May 2021 81st astdefu 526 133 420ms 13 Dec 2022 81st gigaprofisi 🇺🇸 526 133 372ms 7 Mar 2025 85th eecb 522 134 418ms 24 Nov 2020 85th riviere-lucas 522 134 391ms 30 Dec 2020 85th louisbosqui 522 134 390ms 31 Dec 2020 85th selketdaly 522 134 400ms 30 Jan 2021 85th Bombergames 522 134 397ms 20 Jan 2022 85th msbranicky 522 134 385ms 9 Jan 2024 85th schaene 522 134 394ms 7 Mar 2024 85th deancureton 522 134 388ms 24 Mar 2024 93rd AIn0n 519 135 390ms 30 Aug 2021 93rd rollershutter 519 135 406ms 25 Jan 2024 93rd 0dyse 519 135 401ms 23 Apr 2025 93rd Benzas01 519 135 413ms 5 Oct 2025 97th blasio99 515 136 393ms 17 Jun 2021 97th flekAI 515 136 319ms 3 hours ago 99th xnacly 🇩🇪 511 137 391ms 3 Jul 2023 100th mattwho76 507 138 359ms 24 Apr 2020 100th hyvyys 507 138 384ms 21 Sep 2020 100th godraadam 507 138 380ms 16 Nov 2020 100th melisakmc 507 138 373ms 3 Nov 2021 100th Apataras 507 138 407ms 19 Jul 2025 105th LeftPathLane 500 140 400ms 31 Oct 2022 106th daetz 496 141 431ms 8 Aug 2020 106th WilleyOhana 496 141 380ms 7 Oct 2020 106th fullerlee 496 141 390ms 30 Nov 2020 106th KatieLG-Transpiler 🇬🇧 496 141 384ms 23 Jun 2022 106th atazzam 🇺🇸 496 141 437ms 23 Jan 2025 106th Pyro569 496 141 429ms 7 May 2025 112th sfuhrm 493 142 408ms 17 Dec 2021 112th aneurin-h 493 142 386ms 24 Oct 2022 112th MaxElf999 493 142 384ms 5 Feb 2023 112th rifatx 493 142 393ms 16 Jul 2024 112th DihydrogenMonoxideH2O 493 142 388ms 11 Feb 2025 117th Maximizer02 490 143 382ms 11 Sep 2024 117th luca1339 490 143 387ms 22 Nov 2024 119th jonahwdean 486 144 380ms 28 May 2024 120th DeaneKane 483 145 404ms 22 Apr 2020 120th WillowBee7 483 145 388ms 14 Oct 2020 120th c0d3-4-F00d 🇩🇪 483 145 421ms 25 May 2021 120th Robi1718 483 145 404ms 2 Dec 2021 120th LyonsWasTaken 483 145 365ms 6 Dec 2023 125th lukashert 479 146 422ms 7 Jun 2023 126th eshilo-draper 476 147 402ms 4 Sep 2022 126th Ythaenagor 476 147 378ms 5 Aug 2024 128th melikebuyruk 473 148 368ms 22 Mar 2021 129th aDwarfNamedUrist 467 150 393ms 27 Nov 2022 130th mathislife22 464 151 354ms 29 Aug 2024 131st willpiam 461 152 383ms 20 Oct 2023 132nd KevXtroy 455 154 396ms 18 Aug 2020 133rd EthanGrant1 452 155 395ms 13 Apr 2022 134th 77Tigers 449 156 386ms 10 Mar 2021 134th ToxicP1e 449 156 386ms 8 Nov 2022 136th mokymok 🇺🇸 446 157 386ms 9 Nov 2021 136th Intevel 🇩🇪 446 157 398ms 3 Jul 2023 138th PanNessMain 443 158 379ms 9 Mar 2025 138th EdenJia-Capgemini 443 158 418ms 3 days ago 140th ehulinsky 🇺🇸 440 159 371ms 14 Sep 2021 140th kjrookus 440 159 378ms 13 Apr 2022 142nd lexigeib 438 160 398ms 17 Jul 2020 143rd Bejofo 435 161 389ms 21 Jul 2021 144th Grrine 427 164 420ms 28 Jan 2025 145th acotis 424 165 376ms 6 Feb 2025 146th valgardg 🇮🇸 419 167 399ms 18 Aug 2021 146th retrohun 419 167 394ms 28 Dec 2022 146th Mabeloid 🇳🇴 419 167 405ms 4 Oct 2024 149th ferociouswonderfulgrasseater 417 168 380ms 13 Mar 2023 150th Geird 409 171 390ms 20 Feb 2023 150th jonah1068 409 171 439ms 15 Sep 2023 150th Calculations03 409 171 392ms 28 Jan 2025 153rd ze-h 🇺🇸 405 173 392ms 4 Dec 2022 154th miabea73 400 175 488ms 1 Nov 2025 155th Lou1013 391 179 374ms 7 Jun 2024 156th crizin 🇰🇷 389 180 436ms 9 Sep 2023 157th reki2069 378 185 441ms 5 Oct 2021 158th kanjurer 376 186 389ms 26 Sep 2022 159th mjdargen 347 202 390ms 3 May 2023 160th nathan-maclinovsky 343 204 391ms 16 Sep 2022 First Prev 81–160 of 175 Next Last