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”).

A037732
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,0,3.
0
2, 13, 78, 471, 2828, 16969, 101814, 610887, 3665324, 21991945, 131951670, 791710023, 4750260140, 28501560841, 171009365046, 1026056190279, 6156337141676, 36938022850057, 221628137100342, 1329768822602055
OFFSET
1,1
FORMULA
G.f.: ( x*(2+x+3*x^3) ) / ( (x-1)*(6*x-1)*(1+x)*(1+x^2) ). - R. J. Mathar, Oct 14 2015
MATHEMATICA
Module[{nn=20, pr}, pr=PadRight[{}, nn, {2, 1, 0, 3}]; Table[ FromDigits[ Take[ pr, n], 6], {n, nn}]] (* Harvey P. Dale, Jun 07 2016 *)
CROSSREFS
Sequence in context: A077413 A024199 A037523 * A090187 A212390 A198849
KEYWORD
nonn,base
STATUS
approved