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

A037767
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2,1.
0
3, 18, 110, 661, 3969, 23814, 142886, 857317, 5143905, 30863430, 185180582, 1111083493, 6666500961, 39999005766, 239994034598, 1439964207589, 8639785245537, 51838711473222, 311032268839334, 1866193613036005
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x^2+x^3) / ( (x-1)*(6*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, May 02 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 2, 1}], 6], {n, 20}] (* Harvey P. Dale, Aug 15 2016 *)
CROSSREFS
Sequence in context: A037760 A037648 A036724 * A037655 A074571 A114311
KEYWORD
nonn,base,easy
STATUS
approved