The Algorithms logo
The Algorithms


Addition without Arithmetic

Aliquot Sum

Allocation Number

Arc Length

Area Under Curve

Average Absolute Deviation

Average Mean

Average Median

Average Mode

Bailey Borwein Plouffe

Base Neg 2 Conversion

Basic Maths

Binary Exponentiation

Binary Multiplication

Binomial Coefficient

Binomial Distribution

Chebyshev Distance

Check Polygon

Chinese Remainder Theorem

Chudnovsky Algorithm

Collatz Sequence


Continued Fraction

Decimal Isolate

Decimal to Fraction


Double Factorial

Dual Number Automatic Differentiation

Euclidean Distance

Euler Method

Euler Modified

Euler's Totient

Extended Euclidean Algorithm

Fast Inverse Sqrt

Fermats Little Theorem

Find Max

Find Min


Gcd of N Numbers

Germain Primes

Greatest Common Divisor

Hardy Ramanujanalgo

Integer Square Root

Interquartile Range

Is Int Palindrome

Is Ip v 4 Address Valid

Is Square Free

Jaccard Similarity

Joint Probability Distribution

Josephus Problem

Juggler Sequence


Kth Lexicographic Permutation

Largest of Very Large Numbers

Least Common Multiple

Line Length

Liouville Lambda

Lucas Series

Maclaurin Series

Manhattan Distance

Matrix Exponentiation

Max Sum Sliding Window

Minkowski Distance

Mobius Function

Modular Division

Modular Exponential

Monte Carlo

Monte Carlo Dice

Number of Digits

Adams Bashforth

Integration by Simpson Approx

Nevilles Method

Newton Forward Interpolation

Numerical Integration

Proper Fractions

Runge Kutta Fehlberg 45

Runge Kutta Gills

Odd Sieve

Perfect Cube

Perfect Number

Perfect Square


Pi Generator

Pi Monte Carlo Estimation

Points Are Collinear 3d

Pollard Rho

Polynomial Evaluation

Single Indeterminate Operations

Power Using Recursion

Prime Factors

Prime Sieve Eratosthenes


Print Multiplication Table


Qr Decomposition

Quadratic Equations Complex Numbers

Degrees to Radians

Radix 2 Fft

Remove Digit

Segmented Sieve

Arithmetic Mean

Geometric Series

Harmonic Series

Hexagonal Numbers

Sieve of Eratosthenes

Simultaneous Linear Equation Solver

Sock Merchant

Spearman Rank Correlation Coefficient

Armstrong Number

Automorphic Number

Carmichael Number

Krishnamurthy Number

Polygonal Numbers

Triangular Numbers

Sum of Arithmetic Series

Sum of Digits

Sum of Geometric Progression

Sum of Harmonic Series

Sylvester Sequence

Three Sum

Trapezoidal Rule

Triplet Sum

Twin Prime

Two Pointer

Zellers Congruence

Arithmetic Geometric Mean

Binary Convert

Binary Exponentiation Iterative

Binary Exponentiation Recursive

Bisection Method

Check Kishnamurthy Number

Circular Arc

Co Prime Check


Count Numbers Divisible

Decimal Expansion


Exponential Function

Extended Euclidean GCD

Farey Approximation

Figurate Number

Find Hcf

Find Max Recursion

Find Min Iterator

Friendly Numbers

Get Euclid GCD

Grid Get

Int To Base

Is Divisible

Leap Year

Linear Sieve

Liouville Function

Matrix Exponentiation Recursive

Matrix Multiplication

Mean Absolute Deviation

Mean Square Error

Midpoint Integration

Modular Arithmetic

Modular Binary Exponentiation Recursive

Parity Outlier

Permutation And Combination

Pi Approximation Monte Carlo


Pow Logarithmic

Quadratic Roots

Radians to Degrees

Reverse Number

Reverse Polish Notation

Row Echelon

Shors Algorithm

Sieve Of Eratosthenes Int Array

Simpson Integration

Square Root Logarithmic

While Loop Factorial

Zellers Congruence Algorithm

Is Palindrome Integer Number

Approximate Pi

Binary Exponent

Binomial Calculate

Check Amicable Pair

Check Factorial

Complex Numbers


Extended Euclid Algorithm

Fast Power

Fibonacci Fast

Fibonacci Large

Fibonacci Matrix Exponentiation

Fibonacci Sum

Finding Number of Digits in a Number

Gcd Iterative Euclidean

Gcd Recursive Euclidean

Integral Approximation

Integral Approximation 2

Inv Sqrt

Iterative Factorial

Large Factorial

Large Number

Largest Power

Linear Recurrence Matrix

Magic Number

Miller Rabin

Modular Exponentiation

Modular Inverse Fermat Little Theorem

Modular Inverse Simple

N Bonacci

N Choose R

Ncr Modulo P

Number of Positive Divisors


Power for Huge Numbers

Power of Two

Prime Factorization

Primes up to Billion

Realtime Stats

Sqrt Double

String Fibonacci

Sum of Binomial Coefficient

Vector Cross Product

ADT Fraction

Absolute Max

Absolute Min

Absolute Value

Amicable Number

Auto Correlation

Binary Pow

Circular Convolution FFT

Collatz Conjecture


Convolution FFT

Cross Correlation

Determinant Of Matrix

Digital Root

Distance Formula

Dudeney Number

FFT Bluestein

Factorial Recursion

Fibonacci Java Streams

Fibonacci Loop

Fibonacci Number Check

Fibonacci Number Golden Ration

Find Kth Number

Find Min Recursion

Frizzy Number

GCD Recursion

Generic Root

Harshad Number

Herons Formula

Kaprekar Numbers

Keith Number

Leonardo Number

Linear Diophantine Equations Solver

Liouville Lambda Function

Long Division

Magic Square

Matrix Rank

Matrix Util

Max Value

Miller Rabin Primality Check

Min Value

Non Repeating Element

Palindrome Number

Parse Integer

Pi Nilakantha

Power Of Two Or Not

Pythagorean Triple

Roman Numeral Util

Second Min Max

Square Free Integer

Square Root With Babylonian Method

Square Root With Newton Raphson Method

Standard Deviation

Standard Score

Strobogrammatic Number

Sum Without Arithmetic Operators

Trinomial Triangle

Vampire Number

Cantor Set

Cartesian to Polar

Euclidean Algorithm Extended

Factorial Large Number

Factorial Trailing Zeroes

Fibonacci Dp

Fibonacci Formula

Large Factorials

Prime Factoriziation

Prime Sieve

Strong Number

Graph Dist

Bitwise Addition

Extended Gcd

Modular Inverse










Next Permutation




Amicable Numbers

Area of Polygon

Baby Step Giant Step

Cross Entropy Loss

Elliptic Curve

Faster Perfect Numbers

Karatsuba Multiplication

Leaky Relu

Least Square Approx

Matrix Ops

Mersenne Primes


Quadratic Residue

Simpsons Integration

Sprague Grundy Theorem

Square Pyramidal Numbers

Trapezoidal Integration

Trial Division

Trig Functions

Kynea Numbers

Linear Diophantine Eqn

Factorial Approximation

Fibonacci Dynamic Programming

Fibonacci Recursion

Newton Method

Palindrome String

Palindrome String Recursion

Relu Function


Sphenic Number

Symmetric Derivative

First N Fibonacci

Pi Monte Carlo

3n Plus 1

Factorial Non Recursive Non Iterative

Fast Exponentiation

Fast Inverse Square Root

Fibonacci 2

Neon Number

Greater Common Divisor

Stream Sieve

Fibonacci Sequence

Find Factorial

Highest Common Factor

Prime Factorial

Shree Dharacharya Formula

To Polar

Twos Complement of Binary

Babylonian Sqrt

Binary Length


Mersenne Prime

Monte Carlo Integration


Riemann Integration

Runge Kutta Integration

Trapezoid Integration



Simplist Radical Form

Solve Quadratic Equation

Solve Simultaneous Congruences

Arithmetic Progression

Calculate Mean

Calculate Median

Digit Sum

Double Factorial Iterative

Greatest Common Factor

Is Leap Year

Lowest Common Multiple

Pascals Triangle

Euclidian Greatest Common Divisor