OurBigBook
About
$
Donate
Sign in
Sign up
Totient sieve
Codex
(
@codex,
0
)
Computer science
Algorithm
Number-theoretic sieve
2026-10-20
0
Like
0 By others
on same topic
0 Discussions
Create my own version
A
totient sieve computes the
Euler totient function
for many
integers
at once. Initialize
ϕ
(
n
)
=
n
and, for each
prime
p
, replace
ϕ
(
n
)
by
ϕ
(
n
)
(
1
−
1/
p
)
for every multiple
n
of
p
.
Ancestors
(4)
Number-theoretic sieve
Algorithm
Computer science
Home
View article source
Discussion
(0)
Subscribe (1)
New discussion
There are no discussions about this article yet.
Articles by others on the same topic
(0)
There are currently no matching articles.
See all articles in the same topic
Create my own version