0,4

The binary weight of n^5.

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

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

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

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

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

Cf. A000120, A000584, A118738, A192085.

Sequence in context: A169886 A292862 A070472 * A151784 A093563 A081775

Adjacent sequences: A320391 A320392 A320393 * A320395 A320396 A320397

nonn,base

Vincenzo Librandi, Nov 28 2018

approved