Prime Numbers in Swift 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 1st Lydxn 🇨🇦 1,000 50 91ms 19 Dec 2021 1st JayXon 🇺🇸 1,000 50 89ms 19 Dec 2021 1st MeWhenI 🇻🇦 1,000 50 109ms 7 Mar 2023 1st stefangimmillaro 1,000 50 87ms 8 Mar 2023 1st fuzzylojik-golf 🇺🇸 1,000 50 115ms 1 Aug 2025 6th prplz 🇦🇺 962 52 92ms 18 Dec 2021 6th sean-niemann 🇺🇸 962 52 88ms 20 Jan 2025 8th HumanoidCPU 926 54 97ms 14 Feb 2024 8th Shanethegamer 🇺🇸 926 54 95ms 16 Apr 2024 8th kaascevich 926 54 96ms 8 Jul 2025 8th DialFrost 🇸🇬 926 54 122ms 23 Jan 2026 12th perfunction 909 55 96ms 29 Jan 2020 12th shiles 909 55 94ms 26 Apr 2020 12th rowan-OzRunways 909 55 91ms 9 Aug 2020 12th johnnythedoggie 909 55 92ms 9 Feb 2021 12th jacky-tay 🇳🇿 909 55 98ms 17 May 2021 12th GrayJoKing 🇦🇺 909 55 104ms 14 Mar 2022 12th snoozingnewt 🇨🇦 909 55 105ms 28 Sep 2025 19th timvermeulen 893 56 94ms 19 Jan 2020 19th cmdrsabre 893 56 99ms 7 Feb 2020 21st vaughad 877 57 102ms 19 Jan 2020 21st somebody1234 877 57 90ms 20 Jan 2020 21st primo-ppcg 🇹🇭 877 57 91ms 12 Oct 2020 21st KatieLG 🇬🇧 877 57 97ms 14 Jan 2023 25th Zollerboy1 862 58 98ms 16 Aug 2020 25th jtthrillson 862 58 106ms 18 Dec 2021 25th Yewzir 🇧🇪 862 58 90ms 17 Nov 2023 28th cochrane 847 59 97ms 23 Mar 2024 29th Ripick 833 60 95ms 18 Jul 2022 29th MWI-polygolf 833 60 99ms 18 Feb 2023 29th steffan-polygolf 833 60 92ms 19 Feb 2023 32nd chris-araman 806 62 97ms 3 Jan 2022 33rd cure-honey 🇯🇵 781 64 87ms 30 Jun 2021 33rd janbehrens 🇩🇪 781 64 96ms 18 Aug 2021 35th hyvyys 746 67 92ms 22 Sep 2020 36th StronkCheese 🇺🇸 735 68 91ms 2 Aug 2023 36th The-Wolfson 735 68 97ms 18 Dec 2024 38th dokutan 725 69 106ms 28 Jul 2024 39th hansstefan 714 70 109ms 24 Sep 2022 40th Betuaredead 694 72 94ms 6 Jan 2023 40th msbranicky 694 72 93ms 13 Sep 2023 42nd madex 🇩🇪 685 73 106ms 22 Aug 2021 42nd CaedenHarper 🇨🇦 685 73 95ms 28 Nov 2025 44th Florian-Mt 658 76 100ms 28 Dec 2025 45th tomh1012 641 78 120ms 18 days ago 45th flekAI 641 78 105ms 6 days ago 47th MaxElf999 602 83 95ms 14 Dec 2022 48th retrohun 588 85 71ms 28 Dec 2022 48th Mabeloid 🇳🇴 588 85 72ms 4 Oct 2024 50th bwat2 532 94 96ms 3 Apr 2023 51st eshilo-draper 500 100 94ms 6 Sep 2022 51st Ythaenagor 500 100 95ms 5 Aug 2024 51st jusaka 500 100 105ms 9 days ago 54th mothcolada 🇺🇸 485 103 74ms 6 Dec 2020 54th mokymok 🇺🇸 485 103 73ms 9 Nov 2021 56th ze-h 🇺🇸 417 120 98ms 5 Apr 2024 57th KatieLG-Transpiler 🇬🇧 413 121 652ms 10 Jul 2022 1–57 of 57