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

A037556
Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,1.
0
2, 15, 106, 744, 5209, 36464, 255250, 1786751, 12507258, 87550808, 612855657, 4289989600, 30029927202, 210209490415, 1471466432906, 10300265030344, 72101855212409, 504712986486864, 3532990905408050
OFFSET
1,1
FORMULA
G.f.: x*(2+x+x^2) / ( (x-1)*(7*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
nn=30; With[{c=PadRight[{}, nn, {2, 1, 1}]}, Table[FromDigits[Take[c, n], 7], {n, nn}]] (* Harvey P. Dale, May 05 2012 *)
CROSSREFS
Sequence in context: A037524 A037733 A308938 * A037492 A037572 A218686
KEYWORD
nonn,base,easy
STATUS
approved