login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A295660 Binary weight of Euler phi: a(n) = A000120(A000010(n)). 5
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

Antti Karttunen, Table of n, a(n) for n = 1..65537

Index entries for sequences related to binary expansion of n

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. A000010, A000120, A175548, A293516.

Cf. A003401 (gives the positions of ones).

Sequence in context: A160978 A231776 A055734 * A193169 A193453 A227944

Adjacent sequences:  A295657 A295658 A295659 * A295661 A295662 A295663

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 15:04 EDT 2021. Contains 347657 sequences. (Running on oeis4.)