OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-2,-1,1)
FORMULA
G.f.: [x(2-x)(1+2x)]/[(1-x-x^2)(1-x)^2]. - Ralf Stephan, Apr 05 2004
a(n) = -13-3*n+5*A020701(n). - R. J. Mathar, May 22 2013
MATHEMATICA
LinearRecurrence[{3, -2, -1, 1}, {2, 9, 21, 43}, 50] (* Paolo Xausa, Feb 02 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved