PrimeCalcPro
Explore 1070+ free calculators — math, finance, health & more.

Eulers Totient Function

Calculate phi(n) - numbers coprime to n

Euler's Totient Function φ(n)

n (positive integer ≤ 1,000,000)
φ(n) = count of integers from 1 to n that are coprime to n.

Euler's totient function φ(n) counts how many integers from 1 to n are coprime to n (share no common factor other than 1). It is fundamental in number theory and RSA encryption.

  1. 1For prime p: φ(p) = p−1
  2. 2φ(pᵏ) = pᵏ−pᵏ⁻¹
  3. 3Multiplicative: φ(mn) = φ(m)φ(n) when gcd(m,n)=1
  4. 4φ(12) = φ(4)×φ(3) = 2×2 = 4
φ(12)=4 (coprime: 1,5,7,11)
φ(7)=6 (prime: all 1–6 are coprime)
nφ(n)Coprime integers
621,5
1041,3,7,9
1241,5,7,11
2081,3,7,9,11,13,17,19
🔒
100% Gratis
Ingen registrering
Præcis
Verificerede formler
Øjeblikkelig
Resultater med det samme
📱
Mobilvenlig
Alle enheder

Settings

Theme

Light

Dark

Layout

Language

PrivacyTermsAbout© 2025 PrimeCalcPro