Free Online Utility • MATH Studio • Exact BigInt Engine

Find Prime Factors

Compute the exact prime factorization of any integer using arbitrary-precision BigInt Pollard's Rho + Miller-Rabin, showing canonical prime powers, Euler's totient φ(n), and Möbius μ(n).

Euler's Totient φ(n)96
Möbius Function μ(n)0
Radical rad(n)30
Formula & Quick Reference Live Engine
f(x) = (x² + c) mod n  |  Floyd cycle detection finds gcd(|x - y|, n) > 1
Euler's Totient: φ(n) = n × Π_{p|n} (1 - 1/p)
Möbius μ(n): 0 if squared prime divides n, else (-1)^ω(n)
3602^3 × 3^2 × 5
20262 × 1013
302 × 3 × 5
Fundamental Theorem of Arithmetic
Canonical Prime Factorization
Prime Power Representation
2^3 × 3^2 × 5
2 × 2 × 2 × 3 × 3 × 5
Distinct ω(n)
3
Total Ω(n)
6
Largest Prime
5
BigInt Pollard's Rho + deterministic Miller-RabinExact factorization

Session Calculation Log

No entries recorded in this session yet.

Complete Technical Guide to Find Prime Factors

By the Fundamental Theorem of Arithmetic, every integer greater than 1 decomposes uniquely into a product of prime powers. Combining small-prime trial division, deterministic Miller-Rabin primality tests, and Pollard's Rho cycle-finding algorithm factors even 15-to-20-digit integers cleanly inside your browser.

Along with canonical prime powers and expanded factors, this tool computes Euler's Totient φ(n), the Möbius function μ(n), the squarefree radical rad(n), and distinct/total prime factor counts ω(n) and Ω(n).

Pollard's Rho & Multiplicative Functions

f(x) = (x² + c) mod n  |  Floyd cycle detection finds gcd(|x - y|, n) > 1
Euler's Totient: φ(n) = n × Π_{p|n} (1 - 1/p)
Möbius μ(n): 0 if squared prime divides n, else (-1)^ω(n)

Because RSA cryptography relies on the hardness of factoring 600-digit semiprimes, Pollard's Rho excels rapidly on numbers up to ~20 digits.

How to Use Find Prime Factors

  1. 1Type any integer ≥ 2 (or click a preset).
  2. 2Read canonical prime powers, expanded product, φ(n), μ(n), and rad(n).
  3. 3Copy the factorization equation with one click.

Reference Examples & Worked Benchmarks

nPrime Factorizationφ(n)μ(n)
3602^3 × 3^2 × 5960
20262 × 10131,0121
302 × 3 × 58-1

Practical Applications & Engineering Workflows

Cryptography & Modular Math

Compute Euler's totient φ(n) directly from prime factors.

Fraction & LCM/GCD Reduction

Inspect shared prime powers rapidly.

Accuracy, Edge Cases & Best Practices

  • Uses native BigInt so 64-bit+ numbers never suffer IEEE-754 rounding.

All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.

Frequently Asked Questions

What is Euler's Totient φ(n)?
φ(n) counts how many positive integers up to n are coprime (gcd = 1) to n.
What is the difference between ω(n) and Ω(n)?
ω(n) counts distinct prime factors (for 360: {2,3,5} → 3), while Ω(n) counts total prime factors with multiplicity (2×2×2×3×3×5 → 6).