login
A022930
Number of 4^m between 3^n and 3^(n+1).
0
0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1
OFFSET
0,1
PROG
(PARI) logint(3^(n+1), 4)-logint(3^n, 4) \\ Charles R Greathouse IV, Jan 16 2017
CROSSREFS
Sequence in context: A144609 A115517 A351039 * A285596 A257680 A323377
KEYWORD
nonn
STATUS
approved