Skip to main content
Math & statisticsLocal in browser — nothing is uploaded

Prime factorization, GCD/LCM & combinatorics

Check primality, compute canonical prime factorizations, Euler totient φ(n), multi-integer GCD and LCM, and exact BigInt combinations (nCr) and permutations (nPr).

Prime Factorization & Divisors

Primality

Composite

Factorization

2^3 × 3^2 × 5

Divisor Count τ(n)

24

Euler Totient φ(n)

96

Multi-Integer GCD & LCM

Greatest Common Divisor

6

Least Common Multiple

180

Permutations & Combinations (BigInt)

Combinations nCr

2598960

Permutations nPr

311875200

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

Exact integer arithmetic

Arbitrary-precision nCr: Uses native JavaScript BigInt for permutations and combinations up to n = 1,000 without floating-point rounding drift.

Frequently asked questions

What does Euler’s totient φ(n) count?
It counts integers between 1 and n that are coprime to n (share no common prime factors).
Is there an integer limit for prime factorization?
Trial division runs cleanly up to JavaScript MAX_SAFE_INTEGER (9,007,199,254,740,991).