The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A344132 a(n) = Sum_{i|n, j|n, k|n} gcd(i,j,k). 10
1, 9, 10, 37, 12, 90, 14, 111, 49, 108, 18, 370, 20, 126, 120, 283, 24, 441, 26, 444, 140, 162, 30, 1110, 79, 180, 184, 518, 36, 1080, 38, 657, 180, 216, 168, 1813, 44, 234, 200, 1332, 48, 1260, 50, 666, 588, 270, 54, 2830, 117, 711, 240, 740, 60, 1656, 216, 1554, 260, 324, 66, 4440, 68, 342, 686, 1441, 240, 1620, 74 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = Sum_{i|n, j|n, k|n} n/lcm(i,j,k).
a(n) = Sum_{d|n} phi(n/d) * tau(d)^3.
If p is prime, a(p) = 7 + p.
a(n) = Sum_{k=1..n} tau(gcd(k,n))^3.
MATHEMATICA
a[n_] := DivisorSum[n, EulerPhi[n/#] * DivisorSigma[0, #]^3 &]; Array[a, 50] (* Amiram Eldar, May 10 2021 *)
PROG
(PARI) a(n) = sumdiv(n, i, sumdiv(n, j, sumdiv(n, k, gcd([i, j, k]))));
(PARI) a(n) = sumdiv(n, i, sumdiv(n, j, sumdiv(n, k, n/lcm([i, j, k]))));
(PARI) a(n) = sumdiv(n, d, eulerphi(n/d)*numdiv(d)^3);
(PARI) a(n) = sum(k=1, n, numdiv(gcd(k, n))^3);
CROSSREFS
Sequence in context: A329636 A289520 A038206 * A154389 A041172 A248353
KEYWORD
nonn,mult
AUTHOR
Seiichi Manyama, May 10 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 12 14:48 EDT 2024. Contains 373331 sequences. (Running on oeis4.)