OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
N. Allegra, Exact solution of the 2d dimer model: Corner free energy, correlation functions and combinatorics, arXiv:1410.4131 [cond-mat.stat-mech], 2014. See Table 5.
Index entries for linear recurrences with constant coefficients, signature (11,-7,1).
FORMULA
G.f.: (1-4*x+x^2)/(1-11*x+7*x^2-x^3). - Alois P. Heinz, Mar 07 2016
MAPLE
seq(coeff(series((1-4*x+x^2)/(1-11*x+7*x^2-x^3), x, n+1), x, n), n = 0 .. 30); # G. C. Greubel, Oct 27 2019
MATHEMATICA
LinearRecurrence[{11, -7, 1}, {1, 7, 71}, 30] (* G. C. Greubel, Oct 27 2019 *)
PROG
(PARI) my(x='x+O('x^30)); Vec((1-4*x+x^2)/(1-11*x+7*x^2-x^3)) \\ G. C. Greubel, Oct 27 2019
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( (1-4*x+x^2)/(1-11*x+7*x^2-x^3) )); // G. C. Greubel, Oct 27 2019
(Sage)
def A260033_list(prec):
P.<x> = PowerSeriesRing(ZZ, prec)
return P((1-4*x+x^2)/(1-11*x+7*x^2-x^3)).list()
A260033_list(30) # G. C. Greubel, Oct 27 2019
(GAP) a:=[1, 7, 71];; for n in [4..30] do a[n]:=11*a[n-1]-7*a[n-2]+a[n-3]; od; a; # G. C. Greubel, Oct 27 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 19 2015
EXTENSIONS
a(0), a(5)-a(20) from Alois P. Heinz, Mar 07 2016
STATUS
approved