Rosetta Code

Countdown Quaternion Fivenum Digit fifth powers Hash from two arrays Hailstone sequence Substring/Top and tail Character codes User input/Text Environment variables Filter Formatted numeric output Approximate equality Multifactorial Bell numbers Minimum primes Sorting algorithms/Bubble sort Vampire number Execute a system command SHA-256 Sort an integer array Gapful numbers List division Generate lower case ASCII alphabet Experimental Verification of the NKTg Law Using NASA Neptune Data (2023–2024) Show ASCII table Input loop Binary search Empty string Sum and product of an array Primes which contain only one odd digit Determine if a string is squeezable Count occurrences of a substring Monty Hall problem Magic constant Greatest subsequential sum Positive decimal integers with the digit 1 occurring exactly twice Sorting algorithms/Insertion sort Null object Compound data type Dice game probabilities Loops/For with a specified step Sieve of Pritchard Terminal control/Ringing the terminal bell Loop over multiple arrays simultaneously Sorting algorithms/Gnome sort Count in octal Self-describing numbers FizzBuzz Find prime n such that reversed n is also prime Chaocipher Bitmap Finite state machine Sorting algorithms/Bogosort De Polignac numbers Terminal control/Display an extended character Population count Largest number divisible by its digits Loops/Do-while Caesar cipher CUSIP Tropical algebra overloading Idoneal numbers Case-sensitivity of identifiers Tau number Special variables Get system command output Variables Remove vowels from a string Sorting algorithms/Circle sort Pick random element Integer sequence Two identical strings Esthetic numbers Conjugate a Latin verb Currency Loops/While Bitwise operations Forward difference Assertions String concatenation Loops/Downward for Soloway's recurring rainfall Common list elements Rainbow Möbius function Code Golf Count the occurrence of each digit in e Loops/With multiple ranges Old lady swallowed a fly Chinese zodiac Nice primes Sorting algorithms/Selection sort Nth root Return multiple values Binary digits Arena storage pool Sorting algorithms/Stooge sort Hello world/Standard error Sorting algorithms/Cocktail sort Emirp primes Show the (decimal) value of a number of 1s appended with a 3, then squared Check input device is a terminal Twin primes whose sum is square number 99 bottles of beer Integer comparison Pascal's triangle Write entire file Sort three variables Chebyshev coefficients Terminal control/Unicode output Gosper's hack Catamorphism Create a file Harshad or Niven series Hello world/Text Yellowstone sequence Call an object method Command-line arguments Zero to the zero power Padovan n-step number sequences Van Eck sequence String comparison Chowla numbers Stack Square-free integers Increment a numerical string CRC-32 Factorial String case Address of a variable Loops/Infinite Copy a string Array length Euler method Largest prime factor Sorting algorithms/Heapsort Least common multiple String interpolation (included) Sum of first n cubes SHA-1 Strange plus numbers Vector products Sattolo cycle Ascending primes Classes Additive primes Largest proper divisor of n Sorting algorithms/Comb sort Apply a callback to an array Arrays Sorting algorithms/Counting sort Sum of the digits of n is substring of n Perfect numbers Day of the week Sorting algorithms/Pancake sort Variadic function Hello world/Newbie Sleeping Beauty problem Brazilian numbers No prime sums Loops/N plus one half Greatest common divisor Common sorted list IBAN Arithmetic/Rational Sub-unit squares Sorting algorithms/Permutation sort Reverse a string Strip comments from a string Hash join Gradient descent Sequence: smallest number with exactly n divisors Practical numbers Arithmetic/Complex Integer overflow Arithmetic-geometric mean Passphrase generator Averages/Median Hello world/Web server Rot-13 Tau function Multiplication tables Repeat String append Word wrap Loops/Break Range expansion Currying Substring Arithmetic/Integer Time a function Pointers and references Sorting algorithms/Cycle sort Temperature conversion Text between Knuth shuffle Vector Palindrome detection Averages/Mode Angles (geometric), normalization and conversion Amicable pairs Odd and square numbers Birthday problem Munchausen numbers Array concatenation Sorting algorithms/Shell sort Piprimes Find square difference Boolean values Loops/Nested Inheritance/Single Bernoulli's triangle Accumulator factory Anti-primes McNuggets problem SEDOLs Shift list elements to left by 3 Split a character string based on change of character Kempner numbers Calculating the value of e Loops/Increment loop index within loop body Closures/Value capture Ackermann function Determine if a string is collapsible Write language name in 3D ASCII Cuban primes Averages/Mean time of day Echo server Recaman's sequence Search a list of records Minimum multiple of m where digital sum equals m RPG attributes generator Find squares n where n+1 is prime Sum of squares Self numbers Numbers which are the cube roots of the product of their proper divisors Sorting algorithms/Bead sort Evaluate binomial coefficients Catalan numbers Terminal control/Clear the screen Smallest square that begins with n Sieve of Eratosthenes Almost prime Attractive numbers Ternary logic Blum integer Strip a set of characters from a string Program termination Determine if a string is numeric Dot product Loops/Foreach Digital root Numbers which are not the sum of distinct squares Rep-string Abundant, deficient and perfect number classifications Associative array/Iteration Largest int from concatenated ints Guess the number Generic swap Calendar Shape-Machine Longest common suffix 100 prisoners Two sum Kaprekar numbers Primality by trial division Soundex Strange numbers String matching Leonardo numbers Digital root/Multiplicative digital root Factors of an integer Averages/Mean angle 10001th prime Sum of a series Averages/Arithmetic mean Long primes Dating agency Sort a list of object identifiers Middle three digits Function definition Diversity prediction theorem Look-and-say sequence 100 doors Abstract type Partition an integer x into n primes Machine code Convert seconds to compound duration Associative array/Creation Jewels and stones Jordan-Pólya numbers Sudan function Hello world/Newline omission Repeat a string Triplet of three numbers Sum digits of an integer Dynamic variable names Logical operations Brilliant numbers Loops/Continue Narcissistic decimal number Simple windowed application Experimental Verification of the NKTg Law in Earth Orbit Based on NASA’s 2025 Earth Dataset Tokenize a string Averages/Root mean square Inheritance/Multiple Even or odd Check output device is a terminal Empty program Fibonacci sequence Towers of Hanoi Prime numbers of measurement Program name Jacobsthal numbers A+B Enforced immutability Loops/For Averages/Pythagorean means Angle difference between two bearings Averages/Simple moving average Collections Real constants and functions Sum of primes in odd positions is prime Sleep