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

A037625
Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 2,3,0.
1
2, 11, 44, 178, 715, 2860, 11442, 45771, 183084, 732338, 2929355, 11717420, 46869682, 187478731, 749914924, 2999659698, 11998638795, 47994555180, 191978220722, 767912882891, 3071651531564, 12286606126258, 49146424505035
OFFSET
1,1
FORMULA
G.f.: x*(2+3*x) / ( (x-1)*(4*x-1)*(1+x+x^2) ). - R. J. Mathar, Apr 29 2015
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {2, 3, 0}], 4], {n, 30}] (* or *) LinearRecurrence[{4, 0, 1, -4}, {2, 11, 44, 178}, 30] (* Harvey P. Dale, Jul 21 2024 *)
CROSSREFS
Sequence in context: A289645 A181369 A037744 * A181270 A110679 A127109
KEYWORD
nonn,base,easy
STATUS
approved