GAP
GAP is the language used in the computer algebra system of the same name. See https://www.gap-system.org/ for more information.
Tasks
- 100 doors
- 24 game
- 24 game/Solve
- 9 billion names of God the integer
- Ackermann function
- Anagrams
- Anagrams/Deranged anagrams
- Apply a callback to an array
- Arbitrary-precision integers (included)
- Arithmetic/Complex
- Arithmetic/Integer
- Arithmetic/Rational
- Array concatenation
- Arrays
- Assertions
- Averages/Arithmetic mean
- Averages/Median
- Averages/Mode
- Averages/Pythagorean means
- Averages/Simple moving average
- Balanced brackets
- Bernoulli numbers
- Binary search
- Bitmap/Write a PPM file
- Boolean values
- Caesar cipher
- Case-sensitivity of identifiers
- Catalan numbers
- Character codes
- Check Machin-like formulas
- Check that file exists
- Combinations
- Combinations with repetitions
- Comments
- Conditional structures
- Copy a string
- Create a two-dimensional array at runtime
- Day of the week
- Delete a file
- Dot product
- Dynamic variable names
- Evaluate binomial coefficients
- Even or odd
- Execute Brainfuck
- Exponentiation operator
- Factorial
- Factors of a Mersenne number
- Factors of an integer
- Fast Fourier transform
- Faulhaber's formula
- Fibonacci sequence
- Filter
- Find limit of recursion
- Find the missing permutation
- First-class functions
- Five weekends
- FizzBuzz
- Flatten a list
- Function composition
- Function definition
- Greatest common divisor
- Greatest element of a list
- Hailstone sequence
- Hello world!
- Hello world/Text
- Higher-order functions
- Horner's rule for polynomial evaluation
- Identity matrix
- Include a file
- Increment a numerical string
- Infinity
- Integer sequence
- Interactive programming
- Introspection
- Kaprekar numbers
- Knuth shuffle
- Leap year
- Least common multiple
- List comprehensions
- Literals/Floating point
- Literals/Integer
- Literals/String
- Logical operations
- Look-and-say sequence
- Loop over multiple arrays simultaneously
- Loops/Break
- Loops/Continue
- Loops/Do-while
- Loops/Downward for
- Loops/For
- Loops/For with a specified step
- Loops/Foreach
- Loops/Infinite
- Loops/N plus one half
- Loops/Nested
- Loops/While
- Lucas-Lehmer test
- Luhn test of credit card numbers
- Matrix multiplication
- Matrix transposition
- Matrix-exponentiation operator
- Modular exponentiation
- Multifactorial
- N-queens problem
- Ordered Partitions
- Palindrome detection
- Pascal's triangle
- Perfect numbers
- Permutation test
- Permutations
- Permutations/Derangements
- Pick random element
- Polynomial long division
- Polynomial regression
- Power set
- Primality by trial division
- Prime decomposition
- Quaternion type
- Queue/Definition
- Quine
- Random number generator (included)
- Read a file line by line
- Read entire file
- Remove duplicate elements
- Repeat a string
- Reverse a string
- Roots of a quadratic function
- Roots of unity
- Rot-13
- Search a list
- Sequence of non-squares
- Sierpinski triangle
- Sieve of Eratosthenes
- Sort an integer array
- Sort stability
- Sorting algorithms/Insertion sort
- Sorting algorithms/Selection sort
- Spiral matrix
- String case
- String length
- Substring
- Sum and product of an array
- Sum of a series
- Sum of squares
- Symmetric difference
- Time a function
- Tokenize a string
- Trigonometric functions
- Unbias a random generator
- Undefined values
- Variables
- Vector products
- Walk a directory/Recursively
- Y combinator
- Zebra puzzle
- Zig-zag matrix