login
A037704
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,3,0,2.
0
1, 9, 54, 326, 1957, 11745, 70470, 422822, 2536933, 15221601, 91329606, 547977638, 3287865829, 19727194977, 118363169862, 710179019174, 4261074115045, 25566444690273, 153398668141638, 920392008849830, 5522352053098981
OFFSET
1,2
FORMULA
G.f.: ( x*(1+3*x+2*x^3) ) / ( (x-1)*(6*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 13 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 3, 0, 2}], 6], {n, 30}] (* Harvey P. Dale, Oct 13 2020 *)
CROSSREFS
Sequence in context: A079761 A115784 A037599 * A093847 A363415 A157539
KEYWORD
nonn,base
STATUS
approved