Euler's totient function
function which gives the number of integers relatively prime to and not greater than its input

In number theory, Euler's totient function counts the positive integers up to a given integer
n
{\displaystyle n}
that are relatively prime to
n
{\displaystyle n}
. It is written using the Greek letter phi as
φ
(
n
)
{\displaystyle \varphi (n)}
or
ϕ
(
n
)
{\displaystyle \phi (n)}
, and may also be called Euler's phi function. In other words, it is the number of integers
k
{\displaystyle k}
in the range
1
≤
k
≤
n
{\displaystyle 1\leq k\leq n}
for which the greatest common divisor
gcd
(
n
,
k
)
{\displaystyle \gcd(n,k)}
is equal to 1. The integers
k
{\displaystyle k}
of this form are sometimes referred to as totatives of
n
{\displaystyle n}
.
For example, the totatives of
n
=
9
{\displaystyle n=9}
are the six numbers 1, 2, 4, 5, 7 and 8. They are all relatively prime to 9, but the other three numbers in this range, 3, 6, and 9 are not, since
gcd
(
9
,
3
)
=
gcd
(
9
,
6
)
=
3
{\displaystyle \gcd(9,3)=\gcd(9,6)=3}
and
gcd
(
9
,
9
)
=
9
{\displaystyle \gcd(9,9)=9}
. Therefore,
φ
(
9
)
=
6
{\displaystyle \varphi (9)=6}
. As another example,
φ
(
1
)
=
1
{\displaystyle \varphi (1)=1}
since for
n
=
1
{\displaystyle n=1}
the only integer in the range from 1 to
n
{\displaystyle n}
is 1 itself, and
gcd
(
1
,
1
)
=
1
{\displaystyle \gcd(1,1)=1}
.
Euler's totient function is a multiplicative function, meaning that if two numbers
m
{\displaystyle m}
and
n
{\displaystyle n}
are relatively prime, then
φ
(
m
n
)
=
φ
(
m
)
φ
(
n
)
{\displaystyle \varphi (mn)=\varphi (m)\varphi (n)}
.
This function gives the order of the multiplicative group of integers modulo n (the group of units of the ring
Z
/
n
Z
{\displaystyle \mathbb {Z} /n\mathbb {Z} }
).
This brief starts where responsible research should: with the source description of “Euler's totient function” as function which gives the number of integers relatively prime to and not greater than its input. Everything that follows is an evidence route, not borrowed authority.
Why this record matters
The subject matters to the general reference register because the source frames it as function which gives the number of integers relatively prime to and not greater than its input. Its deeper value depends on whether names, dates, institutions and citations support that framing.
The citation trail is more important than the brevity of the summary: it shows where individual claims can be examined in context. The source revision retrieved here is dated Sep 19, 2026. The linked authority identifier is Q190026. None of the 0 selected statements returned an explicit reference.
Overview language is designed for orientation and should not be treated as a substitute for the evidence cited beneath it. The source lead contains qualifying language; that uncertainty should survive quotation, summary and reuse. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.
How to read it
Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.
- Subject orientation
- Search vocabulary
- Locating named sources
The closest primary source, responsible institution and strongest cited specialist reference.
Three-step research path
- Establish the record: confirm the title “Euler's totient function”, its source revision and the description used here.
- Expand the search: follow Euler's totient function primary sources, Euler's totient function archive and Euler's research across catalogues and specialist indexes.
- Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.
Questions for further research
- Which source most directly establishes the central claim about “Euler's totient function”?
- Which institution is responsible for the underlying evidence?
- Which cited source is closest to the event, object or claim?
Search terms from this dossier
This entry incorporates text from “Euler's totient function” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.