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!)
A004085 Sum of digits of Euler totient function of n. 2
1, 1, 2, 2, 4, 2, 6, 4, 6, 4, 1, 4, 3, 6, 8, 8, 7, 6, 9, 8, 3, 1, 4, 8, 2, 3, 9, 3, 10, 8, 3, 7, 2, 7, 6, 3, 9, 9, 6, 7, 4, 3, 6, 2, 6, 4, 10, 7, 6, 2, 5, 6, 7, 9, 4, 6, 9, 10, 13, 7, 6, 3, 9, 5, 12, 2, 12, 5, 8, 6, 7, 6, 9, 9, 4, 9, 6, 6, 15, 5, 9, 4, 10, 6, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A007953(A000010(n)). - Michel Marcus, Dec 18 2016
MAPLE
f:= n -> convert(convert(numtheory:-phi(n), base, 10), `+`):
map(f, [$1..100]); # Robert Israel, Dec 05 2017
MATHEMATICA
Total/@(IntegerDigits/@EulerPhi[Range[70]]) (* Harvey P. Dale, Jul 31 2013 *)
Table[Plus@@IntegerDigits@(EulerPhi[n]), {n, 100}] (* Vincenzo Librandi, Jun 01 2019 *)
PROG
(PARI) a(n) = sumdigits(eulerphi(n)); \\ Michel Marcus, Dec 18 2016
(Magma) [ &+Intseq(EulerPhi(n)): n in [1..100] ]; // Vincenzo Librandi, Jun 01 2019
CROSSREFS
Sequence in context: A233027 A262550 A077651 * A293482 A086296 A096504
KEYWORD
nonn,base
AUTHOR
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 April 25 10:51 EDT 2024. Contains 371967 sequences. (Running on oeis4.)