Prime Numbers in JavaScript 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 Multitap Input 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 ><> 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 Multitap Input 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 146th hpr 735 49 9ms 13 Jun 2021 146th ledietz 735 49 9ms 19 Mar 2022 146th Naruyoko 735 49 9ms 6 Mar 2023 146th adamnielson42 🇺🇸 735 49 8ms 24 Apr 2023 146th jbt 735 49 9ms 31 Dec 2023 146th iliazeus 735 49 9ms 20 days ago 157th owenoclee 720 50 9ms 5 Oct 2017 157th robertDurst 720 50 9ms 8 Nov 2017 157th leon-w 720 50 9ms 12 Oct 2018 157th jrsmb 720 50 9ms 21 Oct 2018 157th elisherer 🇮🇱 720 50 9ms 11 Apr 2019 157th omurakazuaki 🇯🇵 720 50 9ms 19 Sep 2019 157th richard-oelze 🇩🇪 720 50 9ms 8 Nov 2020 157th iannisdezwart 🇳🇱 720 50 10ms 21 Jun 2021 157th igmcdowell 720 50 10ms 26 Nov 2021 157th Re-Adventures 🇮🇳 720 50 9ms 15 Feb 2022 157th 5quiwyrm 720 50 9ms 26 Sep 2022 157th Jaro32768 🇸🇰 720 50 9ms 8 Feb 2024 157th HumanoidCPU 720 50 9ms 1 Apr 2024 157th wansacis 🇩🇪 720 50 8ms 30 Apr 2024 157th gigaprofisi 🇺🇸 720 50 9ms 6 Jul 2025 157th Ultra814 720 50 9ms 18 Aug 2025 157th johnkiernander 720 50 9ms 24 hours ago 174th cmorten 706 51 9ms 2 Nov 2017 174th alexkunin 706 51 9ms 4 Jul 2019 174th lukasmoellerch 706 51 9ms 19 Nov 2019 174th dzshn 706 51 9ms 13 Apr 2021 174th raphaelimahorn 706 51 9ms 17 Aug 2021 174th BambooleanLogic 🇸🇪 706 51 9ms 9 Dec 2021 174th makinde 706 51 9ms 26 Oct 2022 174th GreenBeansAgainstVeganism 706 51 8ms 14 Jan 2023 174th predyy 706 51 9ms 22 Aug 2023 174th cyrilboyer 🇫🇷 706 51 9ms 21 Dec 2023 174th XenThe 🇬🇧 706 51 9ms 16 Jun 2025 185th tangweikun 692 52 9ms 24 Oct 2018 185th daisy-lau 692 52 9ms 5 Aug 2020 185th nartallax 692 52 9ms 21 May 2021 185th Vollch 692 52 9ms 21 May 2021 185th SiddharthShyniben 692 52 9ms 2 Aug 2021 185th Natanaelel 🇸🇪 692 52 9ms 12 Feb 2022 185th weliveinhell 🇭🇹 692 52 9ms 4 Oct 2023 185th dtbao20 🇻🇳 692 52 9ms 1 Oct 2024 193rd Brassawiking 679 53 9ms 22 Jul 2018 193rd saramaebee 679 53 9ms 15 Oct 2018 193rd mintypython 679 53 9ms 15 Oct 2018 193rd hack-and-backslash 679 53 8ms 31 Jan 2019 193rd dee-gomma 679 53 9ms 28 Mar 2019 193rd NatNgs 679 53 9ms 13 Jan 2020 193rd kirillgroshkov 679 53 9ms 8 May 2020 200th GiftOfDeath 667 54 8ms 9 Feb 2018 200th skps2010 667 54 9ms 4 Jan 2019 200th uttumuttu 🇫🇮 667 54 9ms 4 Jan 2022 200th bac0id 667 54 9ms 26 Jun 2024 200th 823126 667 54 9ms 8 Nov 2024 200th Salutations45 667 54 9ms 10 Nov 2024 206th ArturLange 655 55 9ms 14 Sep 2018 206th aaronze 🇦🇺 655 55 9ms 20 Aug 2021 206th dylanpyle 655 55 9ms 12 Oct 2021 206th shawphy 655 55 9ms 14 Oct 2021 206th fitzdotlol 🇺🇸 655 55 9ms 23 Mar 2022 206th maxpelic 🇺🇸 655 55 8ms 10 Jul 2022 206th Betuaredead 655 55 9ms 4 Jan 2023 206th veehz 655 55 9ms 21 Feb 2023 206th stellartux 655 55 9ms 27 Dec 2023 206th steffan-polygolf 655 55 9ms 14 Feb 2024 216th pg98 643 56 9ms 13 Mar 2018 216th user189032 643 56 8ms 29 May 2019 216th cryosis7 643 56 9ms 21 Jun 2019 216th EFHIII 643 56 9ms 16 Aug 2020 216th toxahak 643 56 8ms 1 Dec 2020 216th pbarath 643 56 9ms 22 Mar 2021 216th stadamdoki 643 56 9ms 22 Mar 2021 216th C0de5mith 🇺🇸 643 56 9ms 2 Sep 2022 216th TheCod-r 🇦🇶 643 56 9ms 10 Jul 2023 216th sultan 643 56 9ms 2 Apr 2024 First Prev 151–225 of 465 Next Last