login
A055255
Number of even digits in 3^n.
2
0, 0, 0, 1, 1, 2, 1, 2, 2, 2, 2, 1, 2, 2, 4, 4, 5, 4, 6, 6, 7, 6, 4, 5, 8, 9, 8, 6, 8, 8, 8, 6, 9, 6, 8, 6, 7, 8, 7, 8, 10, 9, 7, 9, 11, 11, 10, 11, 12, 10, 10, 8, 16, 13, 12, 11, 9, 16, 18, 14, 14, 17, 19, 16, 19, 13, 17, 14, 14, 14, 14, 14, 17, 16, 15, 16, 16, 15, 25, 23, 22
OFFSET
0,6
LINKS
PROG
(PARI) a(n) = #select(x->((x%2) == 0), digits(3^n)); \\ Michel Marcus, Nov 22 2019
CROSSREFS
Sequence in context: A338260 A224963 A073810 * A057768 A317990 A106030
KEYWORD
nonn,base,easy
AUTHOR
Asher Auel, May 05 2000
STATUS
approved