login
A037711
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,2,0.
0
1, 9, 56, 336, 2017, 12105, 72632, 435792, 2614753, 15688521, 94131128, 564786768, 3388720609, 20332323657, 121993941944, 731963651664, 4391781909985, 26350691459913, 158104148759480, 948624892556880, 5691749355341281
OFFSET
1,2
FORMULA
G.f.: ( x*(1+2*x) ) / ( (x-1)*(6*x-1)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 3, 2, 0}], 6], {n, 30}] (* or *) LinearRecurrence[{7, -7, 7, -6}, {1, 9, 56, 336}, 30] (* Harvey P. Dale, Jun 16 2023 *)
CROSSREFS
Sequence in context: A163889 A296817 A034362 * A037613 A274553 A221801
KEYWORD
nonn,base
STATUS
approved