[go: up one dir, main page]

login
A037536
Base-3 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,1.
0
1, 5, 16, 49, 149, 448, 1345, 4037, 12112, 36337, 109013, 327040, 981121, 2943365, 8830096, 26490289, 79470869, 238412608, 715237825, 2145713477, 6437140432, 19311421297, 57934263893, 173802791680, 521408375041
OFFSET
1,2
FORMULA
G.f.: x*(1+x)^2 / ( (x-1)*(3*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 29 2015
CROSSREFS
Sequence in context: A180129 A244410 A052909 * A192904 A082001 A084356
KEYWORD
nonn,base,easy
STATUS
approved