OFFSET
1,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,146,0,-1).
FORMULA
Define a(1)=1, a(2)=149, a(3)=146*a(1)+a(2), a(4)=146*a(2)+a(1), then a(n)=146*a(n-2)-a(n-4).
G.f.: x*(x+1)*(x^2+148*x+1) / ((x^2-12*x-1)*(x^2+12*x-1)). [Colin Barker, Mar 06 2013]
MATHEMATICA
LinearRecurrence[{0, 146, 0, -1}, {1, 149, 295, 21755}, 20] (* Harvey P. Dale, Sep 17 2023 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Pierre CAMI, Apr 22 2005
EXTENSIONS
a(12)-a(19) from Colin Barker, Mar 06 2013
STATUS
approved