login
A037676
Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2,3.
0
1, 6, 38, 231, 1387, 8322, 49934, 299607, 1797643, 10785858, 64715150, 388290903, 2329745419, 13978472514, 83870835086, 503225010519, 3019350063115, 18116100378690, 108696602272142, 652179613632855, 3913077681797131
OFFSET
1,2
FORMULA
G.f.: x*(1-x+3*x^2) / ( (x-1)*(6*x-1)*(x^2+1) ). - R. J. Mathar, May 04 2015
MATHEMATICA
nn=30; With[{c=PadRight[{}, nn, {1, 0, 2, 3}]}, Table[FromDigits[Take[c, i], 6], {i, nn}]] (* Harvey P. Dale, Sep 12 2013 *)
CROSSREFS
Sequence in context: A263331 A026296 A037499 * A345464 A180030 A377114
KEYWORD
nonn,base,easy
STATUS
approved