login
A037688
Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0,3.
1
1, 6, 24, 99, 397, 1590, 6360, 25443, 101773, 407094, 1628376, 6513507, 26054029, 104216118, 416864472, 1667457891, 6669831565, 26679326262, 106717305048, 426869220195, 1707476880781, 6829907523126, 27319630092504
OFFSET
1,2
FORMULA
G.f.: ( x*(1+2*x+3*x^3) ) / ( (x-1)*(4*x-1)*(1+x)*(x^2+1) ). - R. J. Mathar, Oct 11 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 2, 0, 3}], 4], {n, 30}] (* Harvey P. Dale, Mar 06 2024 *)
CROSSREFS
Sequence in context: A037505 A048179 A117614 * A378497 A343116 A360036
KEYWORD
nonn,base,easy
STATUS
approved