[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A077651
Initial digit of phi(n), where phi is Euler totient function, A000010.
2
1, 1, 2, 2, 4, 2, 6, 4, 6, 4, 1, 4, 1, 6, 8, 8, 1, 6, 1, 8, 1, 1, 2, 8, 2, 1, 1, 1, 2, 8, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 4, 1, 4, 2, 2, 2, 4, 1, 4, 2, 3, 2, 5, 1, 4, 2, 3, 2, 5, 1, 6, 3, 3, 3, 4, 2, 6, 3, 4, 2, 7, 2, 7, 3, 4, 3, 6, 2, 7, 3, 5, 4, 8, 2, 6, 4, 5, 4, 8, 2, 7, 4, 6, 4, 7, 3, 9, 4, 6, 4, 1, 3, 1, 4, 4
OFFSET
1,3
LINKS
FORMULA
a(n) = A000030(A000010(n)).
MATHEMATICA
Table[First[IntegerDigits[EulerPhi[w]]], {w, 1, 128}]
PROG
(PARI) A077651(n) = (digits(eulerphi(n))[1]); \\ Antti Karttunen, Dec 04 2017
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 19 2002
STATUS
approved