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!)
A320394 Number of ones in binary expansion n^5. 0
0, 1, 1, 6, 1, 6, 6, 7, 1, 9, 6, 10, 6, 11, 7, 12, 1, 10, 9, 9, 6, 11, 10, 14, 6, 11, 11, 15, 7, 15, 12, 15, 1, 10, 10, 13, 9, 11, 9, 13, 6, 16, 11, 15, 10, 21, 14, 18, 6, 15, 11, 13, 11, 13, 15, 19, 7, 17, 15, 14, 12, 14, 15, 18, 1, 10, 10, 14, 10, 18, 13, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

COMMENTS

The binary weight of n^5.

LINKS

Table of n, a(n) for n=0..71.

FORMULA

a(n) = A000120(A000584(n)).

MATHEMATICA

Table[DigitCount[n^5, 2][[1]], {n, 0, 100}]

PROG

(MAGMA) [&+Intseq(n^5, 2): n in [0..79]];

(PARI) a(n) = hammingweight(n^5); \\ Michel Marcus, Nov 28 2018

CROSSREFS

Cf. A000120, A000584, A118738, A192085.

Sequence in context: A169886 A292862 A070472 * A151784 A093563 A081775

Adjacent sequences:  A320391 A320392 A320393 * A320395 A320396 A320397

KEYWORD

nonn,base

AUTHOR

Vincenzo Librandi, Nov 28 2018

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 January 25 03:49 EST 2020. Contains 331241 sequences. (Running on oeis4.)