OFFSET
0,22
FORMULA
EXAMPLE
3^10 = 59049 is the smallest power of 3 having a digit 0, so a(10) = 1 is the first nonzero term.
MATHEMATICA
Table[ Count[ IntegerDigits[3^n], 0], {n, 0, 100} ]
DigitCount[3^Range[0, 110], 10, 0]
PROG
(PARI) apply( A305930(n)=#select(d->!d, digits(3^n)), [0..99])
(Haskell) a305930 = a055641 . a000244
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Jun 22 2018
STATUS
approved