OFFSET
1,7
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 0 for n in { A059305 }. - Alois P. Heinz, Jun 26 2021
MATHEMATICA
Table[ Count[ IntegerDigits[ Prime[ n ], 2 ], 0 ], {n, 120} ]
Table[DigitCount[p, 2, 0], {p, Prime[Range[120]]}] (* Harvey P. Dale, Mar 03 2023 *)
PROG
(PARI) A035103(n) = #(n=binary(prime(n)))-norml2(n) \\ M. F. Hasler, Nov 21 2009
(Haskell)
a035103 = a023416 . a000040 -- Reinhard Zumkeller, Feb 19 2013
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
More terms from Erich Friedman
STATUS
approved