Cototient definition
The cototient of a positive integer n is n minus Euler’s totient φ(n).
Cototient in a picture
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
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.



