OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..1990
Index entries for linear recurrences with constant coefficients, signature (1,11,-10,-10).
FORMULA
From Robert Israel, Jul 01 2016: (Start)
G.f.: (1-x^2)/((1-10*x^2)*(1-x-x^2)).
a(n) = a(n-1)+11*a(n-2)-10*a(n-3)-10*a(n-4). - Wesley Ivan Hurt, Apr 21 2021
MAPLE
f:= gfun:-rectoproc({10*a(n-4)+10*a(n-3)-11*a(n-2)-a(n-1)+a(n),
a(0)=1, a(1)=1, a(2)=11, a(3)=12}, a(n), remember):
map(f, [$0..30]); # Robert Israel, Jul 01 2016
MATHEMATICA
LinearRecurrence[{1, 11, -10, -10}, {1, 1, 11, 12}, 30] (* Harvey P. Dale, Apr 07 2022 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Aug 28 2009
EXTENSIONS
More terms from Harvey P. Dale, Apr 07 2022
STATUS
approved