Interactive Reference
Numerical Computing
A library of 541 math & science topics in 12 chapters — each with a formula, variable definitions, an interactive calculator, and two worked examples.
Table of contents · 541 topics · 12 chapters
1 Arithmetic & Number Theory 55 topics
-
1.1Addition
s = a + b
-
1.2Subtraction
d = a − b
-
1.3Multiplication
p = a × b
-
1.4Division
q = a ÷ b
-
1.5Modulo (Remainder)
r = a − b·⌊a ÷ b⌋
-
1.6Exponentiation
y = an
-
1.7nth Root
y = n√x = x1n
-
1.8Square Root
y = √x
-
1.9Cube Root
y = 3√x
-
1.10Square
y = x2
-
1.11Cube
y = x3
-
1.12Absolute Value
y = x
-
1.13Sign Function
y = sgn(x)
-
1.14Reciprocal
y = 1x
-
1.15Floor
y = ⌊x⌋
-
1.16Ceiling
y = ⌈x⌉
-
1.17Round to Decimals
y = round(x · 10d)10d
-
1.18Truncate
y = trunc(x)
-
1.19Factorial
n! = 1 · 2 · 3 ⋯ n
-
1.20Double Factorial
n!! = n(n−2)(n−4)⋯
-
1.21Greatest Common Divisor
g = gcd(a, b)
-
1.22Least Common Multiple
lcm = a·bgcd(a, b)
-
1.23Prime Check
n prime ⇔ divisors = {1, n}
-
1.24Prime Factorization
n = p1a1 · p2a2 ⋯
-
1.25nth Prime
pn = the n-th prime
-
1.26Number of Divisors
d(n) = #{ k : k ∣ n }
-
1.27Sum of Divisors
σ(n) = Σ_{k ∣ n} k
-
1.28Perfect Number Check
n = Σ proper divisors
-
1.29Fibonacci Number
Fn = Fn−1 + Fn−2
-
1.30Lucas Number
Ln = Ln−1 + Ln−2
-
1.31Triangular Number
Tn = n(n+1)2
-
1.32Catalan Number
Cn = C(2n, n)n+1
-
1.33Binomial Coefficient
C(n,k) = n!k!(n−k)!
-
1.34Permutations (nPr)
P(n,r) = n!n−r!
-
1.35Combinations (nCr)
C(n,r) = n!r!(n−r)!
-
1.36Percentage Of
y = (p100) · x
-
1.37Percentage Change
Δ% = xn − x0x0 · 100
-
1.38Percent of Total
p = partwhole · 100
-
1.39Sum of Digits
S = Σ di
-
1.40Digit Count
len(n)
-
1.41Reverse Digits
reverse(n)
-
1.42Base Converter
n10 → n_b
-
1.43Natural Logarithm
y = ln(x)
-
1.44Logarithm Base 10
y = log10(x)
-
1.45Logarithm Base 2
y = log2(x)
-
1.46Logarithm Base n
log_b(x) = ln xln b
-
1.47Exponential eˣ
y = ex
-
1.48Collatz Steps
n → n2 (even) or 3n+1 (odd)
-
1.49Apply Percentage Increase
y = x · (1 + p100)
-
1.50Apply Percentage Decrease
y = x · (1 − p100)
-
1.51GCD of a List
gcd(a1, a2, …, an)
-
1.52LCM of a List
lcm(a1, a2, …, an)
-
1.53Even or Odd
n mod 2
-
1.54Round to Nearest Multiple
y = m · round(xm)
-
1.55Modular Exponentiation
r = be mod m
No topics match your search.