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

A037653
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,2.
0
3, 12, 50, 203, 812, 3250, 13003, 52012, 208050, 832203, 3328812, 13315250, 53261003, 213044012, 852176050, 3408704203, 13634816812, 54539267250, 218157069003, 872628276012, 3490513104050, 13962052416203, 55848209664812
OFFSET
1,1
FORMULA
G.f.: x*(3+2*x^2) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 30 2015
MATHEMATICA
nn=30; With[{c=PadRight[{}, nn, {3, 0, 2}]}, Table[FromDigits[Take[c, n], 4], {n, nn}]] (* Harvey P. Dale, Oct 19 2012 *)
CROSSREFS
Sequence in context: A180879 A180283 A037765 * A229665 A092443 A356280
KEYWORD
nonn,base,easy
STATUS
approved