OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..950
Index entries for linear recurrences with constant coefficients, signature (11, 0, -24).
FORMULA
For n>4, a(n) = 11*a(n-1) - 24*a(n-3). - Max Alekseyev, Sep 29 2007
G.f.: x*(1-2*x)*(1-3*x-6*x^2)/(1-11*x+24*x^3). - R. J. Mathar, Nov 14 2007
MATHEMATICA
LinearRecurrence[{11, 0, -24}, {1, 6, 66, 714}, 30] (* G. C. Greubel, Feb 14 2021 *)
PROG
(Sage)
def A131519_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P( x*(1-2*x)*(1-3*x-6*x^2)/(1-11*x+24*x^3) ).list()
a=A131519_list(31); a[1:] # G. C. Greubel, Feb 14 2021
(Magma) I:=[6, 66, 714]; [1] cat [n le 3 select I[n] else 11*Self(n-1) -24*Self(n-3): n in [1..30]]; // G. C. Greubel, Feb 14 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Yasutoshi Kohmoto, Aug 15 2007, Oct 03 2007
EXTENSIONS
More terms from Max Alekseyev, Sep 29 2007
Edited by Max Alekseyev, Jul 18 2022
STATUS
approved