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

A285794
a(1)=1, a(2)=2, a(3)=3, a(n) = 3*a(n-3)+2*a(n-2)+a(n-1).
2
1, 2, 3, 10, 22, 51, 125, 293, 696, 1657, 3928, 9330, 22157, 52601, 124905, 296578, 704191, 1672062, 3970178, 9426875, 22383417, 53147701, 126195160, 299640813, 711474236, 1689341342, 4011212253, 9524317645, 22614766177, 53697038226, 127499523515
OFFSET
1,2
FORMULA
G.f.: x*(x^2-x-1)/(3*x^3+2*x^2+x-1).
MATHEMATICA
LinearRecurrence[{1, 2, 3}, {1, 2, 3}, 50]
CROSSREFS
Sequence in context: A120484 A113202 A079078 * A148056 A148057 A148058
KEYWORD
nonn
AUTHOR
Harvey P. Dale, Apr 26 2017
STATUS
approved