OFFSET
0,26
LINKS
Harry J. Smith, Table of n, a(n) for n = 0..1000
EXAMPLE
2^5 = 32 so a(5)=1.
MATHEMATICA
Table[ Count[ IntegerDigits[2^n], 3], {n, 0, 100} ]
PROG
(PARI) a(n) = #select(x->(x==3), digits(2^n)); \\ Michel Marcus, Jun 15 2018
(Python)
def A065714(n):
return str(2**n).count('3') # Chai Wah Wu, Feb 14 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Benoit Cloitre, Dec 04 2001
EXTENSIONS
More terms from Robert G. Wilson v, Dec 07 2001
STATUS
approved