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!)
A295660 Binary weight of Euler phi: a(n) = A000120(A000010(n)). 6
1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 1, 1, 2, 2, 1, 2, 2, 3, 1, 2, 2, 2, 2, 3, 1, 4, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 3, 2, 2, 3, 4, 1, 3, 2, 1, 2, 3, 2, 2, 2, 2, 3, 4, 1, 4, 4, 2, 1, 2, 2, 2, 1, 3, 2, 3, 2, 2, 2, 2, 2, 4, 2, 4, 1, 4, 2, 3, 2, 1, 3, 3, 2, 3, 2, 2, 3, 4, 4, 2, 1, 2, 3, 4, 2, 3, 1, 4, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
LINKS
FORMULA
a(n) = A000120(A000010(n)).
MATHEMATICA
Array[DigitCount[EulerPhi@ #, 2, 1] &, 105] (* Michael De Vlieger, Nov 27 2017 *)
PROG
(PARI) A295660(n) = hammingweight(eulerphi(n));
(Scheme) (define (A295660 n) (A000120 (A000010 n)))
CROSSREFS
Cf. A003401 (gives the positions of ones).
Sequence in context: A160978 A231776 A055734 * A193169 A193453 A227944
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 27 2017
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 May 17 19:53 EDT 2024. Contains 372607 sequences. (Running on oeis4.)