In number theory , the gcd-sum function,
also called Pillai's arithmetical function , is defined for every
n
{\displaystyle n}
by
P
(
n
)
=
∑
k
=
1
n
gcd
(
k
,
n
)
{\displaystyle P(n)=\sum _{k=1}^{n}\gcd(k,n)}
or equivalently
P
(
n
)
=
∑
d
∣
n
d
φ
(
n
/
d
)
{\displaystyle P(n)=\sum _{d\mid n}d\varphi (n/d)}
where
d
{\displaystyle d}
is a divisor of
n
{\displaystyle n}
and
φ
{\displaystyle \varphi }
is Euler's totient function .
it also can be written as
P
(
n
)
=
∑
d
∣
n
d
τ
(
d
)
μ
(
n
/
d
)
{\displaystyle P(n)=\sum _{d\mid n}d\tau (d)\mu (n/d)}
where,
τ
{\displaystyle \tau }
is the divisor function , and
μ
{\displaystyle \mu }
is the Möbius function .
This multiplicative arithmetical function was introduced by the Indian mathematician Subbayya Sivasankaranarayana Pillai in 1933.
References
^ Lászlo Tóth (2010). "A survey of gcd-sum functions". J. Integer Sequences . 13 .
Sum of GCD(k,n)
S. S. Pillai (1933). "On an arithmetic function". Annamalai University Journal . II : 242–248.
Broughan, Kevin (2002). "The gcd-sum function". Journal of Integer Sequences . 4 (Article 01.2.2): 1–19.
OEIS : A018804
Category :
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.
**DISCLAIMER** We are not affiliated with Wikipedia, and Cloudflare.
The information presented on this site is for general informational purposes only and does not constitute medical advice.
You should always have a personal consultation with a healthcare professional before making changes to your diet, medication, or exercise routine.
AI helps with the correspondence in our chat.
We participate in an affiliate program. If you buy something through a link, we may earn a commission 💕
↑