OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
FORMULA
From Elmo R. Oliveira, Apr 10 2026: (Start)
a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5) for n > 5.
a(n) = [x^n] 2*x*(3 + 2*x + 22*x^2 + 2*x^3 + 3*x^4)/((1-x)^3*(1+x)^2). (End)
MATHEMATICA
LinearRecurrence[{1, 2, -2, -1, 1}, {6, 10, 66, 78, 190}, 50] (* Paolo Xausa, Apr 16 2026 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 25 2024
STATUS
approved
