login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A037753
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,1,0.
0
2, 15, 91, 546, 3278, 19671, 118027, 708162, 4248974, 25493847, 152963083, 917778498, 5506670990, 33040025943, 198240155659, 1189440933954, 7136645603726, 42819873622359, 256919241734155, 1541515450404930
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x) ) / ( (x-1)*(6*x-1)*(x^2+1) ). - R. J. Mathar, Oct 15 2015
MATHEMATICA
Module[{nn=20, ps}, ps=PadRight[{}, nn, {2, 3, 1, 0}]; Table[ FromDigits[ Take[ ps, n], 6], {n, nn}]] (* or *) LinearRecurrence[{7, -7, 7, -6}, {2, 15, 91, 546}, 20] (* Harvey P. Dale, May 30 2016 *)
CROSSREFS
Sequence in context: A037746 A037627 A192369 * A037641 A361303 A288952
KEYWORD
nonn,base
STATUS
approved