A ceramic sorting tray separates a blue group of counters.

Cototient definition

The cototient of a positive integer n is n minus Euler’s totient φ(n).

In Spanish
cototiente
Topic
Integer equations and number theory

Cototient in a picture

Cototient diagramThe cototient of 8 is 4.Use the range 1 through 8The coprime values are 1, 3, 5, and 7Compute φ(8) = 4Four values are coprime to 8Subtract 8 − 4The cototient of 8 is 4
The cototient of 8 is 4.

How it works

Euler’s totient counts integers from 1 through n that are coprime to n. Subtract that count from n to count the integers in the same range that share a factor greater than 1 with n. For n = 1, φ(1) = 1 and the cototient is 0.

Worked examples

Find the cototient of 10.

φ(10) = 4, so the cototient is 6.

Find the cototient of the prime 7.

Only 7 in the range 1 to 7 is not coprime to 7, so the result is 1.

Find the cototient of 9.

The noncoprime integers are 3, 6, and 9, so the result is 3.

Common mistake

Include n in the counting interval. For n greater than 1, n itself is not coprime to n.

Quick check

If φ(12) = 4, what is the cototient of 12?

What is the cototient of a prime?

Show answer

1.

What do the totient and cototient add up to?

Show answer

The input n.

Sources

Flashcard

Cototient

Reveal the definition

The cototient of a positive integer n is n minus Euler’s totient φ(n).

Effortless Math. “Cototient.” Math Dictionary.