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

A037683
Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3,2.
0
1, 6, 39, 236, 1417, 8502, 51015, 306092, 1836553, 11019318, 66115911, 396695468, 2380172809, 14281036854, 85686221127, 514117326764, 3084703960585, 18508223763510, 111049342581063, 666296055486380, 3997776332918281
OFFSET
1,2
FORMULA
G.f.: ( x*(1+3*x^2+2*x^3) ) / ( (x-1)*(6*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
MATHEMATICA
nn=30; With[{c=PadRight[{}, nn, {1, 0, 3, 2}]}, Table[FromDigits[Take[c, n], 6], {n, nn}]] (* Harvey P. Dale, Nov 01 2011 *)
CROSSREFS
Sequence in context: A339205 A258342 A037592 * A145664 A305289 A090018
KEYWORD
nonn,base,easy
STATUS
approved