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

A037555
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 2,1,1.
0
2, 13, 79, 476, 2857, 17143, 102860, 617161, 3702967, 22217804, 133306825, 799840951, 4799045708, 28794274249, 172765645495, 1036593872972, 6219563237833, 37317379426999, 223904276561996, 1343425659371977
OFFSET
1,1
FORMULA
G.f.: x*(2+x+x^2) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Module[{nn=20, c}, c=PadRight[{}, nn, {2, 1, 1}]; Table[FromDigits[Take[c, n], 6], {n, nn}]] (* Harvey P. Dale, Jul 23 2012 *)
CROSSREFS
Sequence in context: A090187 A212390 A198849 * A135167 A271475 A037491
KEYWORD
nonn,base,easy
STATUS
approved