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 toolExact 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).
Related tools
Browse all toolsCalculators & finance
Scientific & fraction calculator
Evaluate trigonometry, logarithms, roots, and factorials safely alongside exact integer fraction arithmetic.
Math & statistics
Programmer binary/hex & bitwise
Convert values across decimal, hexadecimal, octal, and binary with 8/16/32-bit two’s-complement views and bitwise operations.
Math & statistics
Bayes theorem, binomial & Pearson r
Update posterior probabilities via Bayes’ rule, solve exact B(n, p) binomial distributions, and inspect Pearson correlation.