OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
FORMULA
MAPLE
seq(numboccur(0, convert(5^n, base, 2)), n=0..100); # Robert Israel, Dec 24 2017
MATHEMATICA
a[n_] := DigitCount[5^n, 2, 0]; Table[a[n], {n, 0, 72}] (* Ray Chandler, Sep 29 2006 *)
DigitCount[5^Range[0, 80], 2, 0] (* Harvey P. Dale, Aug 30 2021 *)
PROG
(PARI) a(n) = #binary(5^n)-hammingweight(5^n) \\ Felix Fröhlich, Dec 24 2017
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Zak Seidov, May 22 2006
STATUS
approved