OFFSET
0,1
COMMENTS
This is a Sturmian sequence; consider the straight line of equation y = x*log(3)/log(2), the sequence gives the number m of integer ordinate points between the abscissa points n and n+1. - Richard Aime Blavy, Jun 14 2020
LINKS
David A. Corneth, Table of n, a(n) for n = 0..9999
PROG
(PARI) a(n) = logint(2^(n+1), 3)-logint(2^n, 3) \\ Charles R Greathouse IV, Jan 16 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved