OFFSET
2,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 2..1000
Eric Weisstein's World of Mathematics, Totient Function.
Wikipedia, Euler's totient function.
FORMULA
Sum_{k=1..n} a(k) = c * n^4 + O((n*log(n))^3), where c = (2/27) * Product_{p prime == 1 (mod 3)} (1 - 3/p^2) * Product_{p prime == 2 (mod 3)} (1 - 1/p^2) = 0.047313356295... . - Amiram Eldar, Dec 09 2024
MATHEMATICA
EulerPhi[Range[2, 50]^3 - 1]/3 (* Paolo Xausa, Jun 18 2024 *)
PROG
(PARI) {a(n) = eulerphi(n^3-1)/3}
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Seiichi Manyama, Sep 13 2018
STATUS
approved