OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..100
Index entries for linear recurrences with constant coefficients, signature (302,-1).
FORMULA
a(n+2) = 302*a(n+1)-a(n).
G.f.: -x*(-1+x) / ( 1-302*x+x^2 ). - R. J. Mathar, Nov 27 2011
EXAMPLE
a(1)=1 because 3^3-2^3=19*1.
MATHEMATICA
CoefficientList[Series[(1 - x)/(1 - 302 x + x^2), {x, 0, 20}], x] (* Vincenzo Librandi, Oct 18 2014 *)
PROG
(PARI) Vec(-x*(-1+x)/(1-302*x+x^2) + O(x^30)) \\ Colin Barker, Oct 18 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Oct 02 2008
EXTENSIONS
Editing and more terms from Colin Barker, Oct 18 2014
STATUS
approved