Jordan Totient Calculator

J_k(n) = generalized totient

CalculatorsFreeNo Signup
4.7(672 reviews)
All Tools

Loading tool...

About Jordan Totient Calculator

A Jordan totient calculator computing J_k(n) = n^k · Π_{p|n}(1 - 1/p^k). When k=1, J_1 = Euler's totient φ. J_k counts k-tuples of integers in [1,n] whose gcd with n is 1. Multiplicative function. Client-side.

Jordan Totient Calculator Features

  • J_k(n) computation
  • Any k
  • Multiplicativity
  • Prime factorization
  • Table
Jordan's totient J_k(n) = n^k · Π_{p|n}(1 - 1/p^k). For k=1: J_1(n) = φ(n) (Euler). For k=2: J_2(n) counts pairs (a,b) with 1≤a,b≤n and gcd(a,b,n)=1. Multiplicative: J_k(ab) = J_k(a)·J_k(b) when gcd(a,b)=1.

How to Use

Enter n and k:

  • J_k(n): Result
  • Formula: Prime decomposition
  • Compare: Different k values

Special Cases

k=1: φ(n). k=2: J_2(n)=n²·Π(1-1/p²). J_k(p)=p^k - 1 for prime p. J_k(p^a)=p^(ak) - p^(a-1)k). Divisor sum: Σ_{d|n} J_k(d) = n^k.

Applications

  • Counting k-dimensional lattice points visible from origin
  • Number-theoretic identities
  • Generalized Ramanujan sums
  • Multiplicative number theory

Step-by-Step Instructions

  1. 1Enter n.
  2. 2Choose k.
  3. 3Compute J_k(n).
  4. 4See factorization.
  5. 5Compare k values.

Jordan Totient Calculator — Frequently Asked Questions

How does J_k generalize Euler's totient?+

J_1(n) = φ(n) exactly. The formula n·Π(1-1/p) becomes n^k·Π(1-1/p^k). So Jordan extends the 'coprimality counting' from single numbers to k-tuples. The divisor sum identity Σ_{d|n}J_k(d) = n^k generalizes Σ_{d|n}φ(d) = n.

What's the growth rate of J_k(n)?+

On average, J_k(n) ≈ n^k · (6/π²)^{...} but it varies widely. For prime n: J_k(n) = n^k - 1 (almost maximal). The sum Σ_{j=1}^{n} J_k(j) ≈ n^{k+1}/((k+1)·ζ(k+1)).

Is J_k always multiplicative?+

Yes! J_k(mn) = J_k(m)·J_k(n) whenever gcd(m,n)=1. This follows from the product formula over prime factors. It makes computation efficient: factorize n, compute J_k at each prime power, multiply.

Share this tool: