login
A037655
Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2.
1
3, 18, 110, 663, 3978, 23870, 143223, 859338, 5156030, 30936183, 185617098, 1113702590, 6682215543, 40093293258, 240559759550, 1443358557303, 8660151343818, 51960908062910, 311765448377463, 1870592690264778
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x^2) / ( (x-1)*(6*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {3, 0, 2}], 6], {n, 20}] (* or *) LinearRecurrence[{6, 0, 1, -6}, {3, 18, 110, 663}, 20] (* Harvey P. Dale, Nov 26 2025 *)
CROSSREFS
Sequence in context: A037648 A036724 A037767 * A074571 A114311 A134092
KEYWORD
nonn,base,easy
STATUS
approved