OFFSET
0,3
COMMENTS
Linear recurrence and empirical g.f confirmed for more terms. - Ray Chandler, Mar 07 2024
REFERENCES
Gy. Tasi et al., Quantum algebraic-combinatoric study of the conformational properties of n-alkanes II, J. Math. Chemistry, 27 (2000), 191-199 (see Table 1).
LINKS
Ray Chandler, Table of n, a(n) for n = 0..1993
Index entries for linear recurrences with constant coefficients, signature (2, 1, 7, 4, 4, 1).
FORMULA
Define sequences a[n], b[n], c[n], d[n] by the recurrences shown in the Maple code below. Sequence gives values of a[n] and also (with a different offset) a[n]+b[n]+d[n].
Empirical g.f.: (x^5+x^4+3*x^3+x-1) / (x^6+4*x^5+4*x^4+7*x^3+x^2+2*x-1). - Colin Barker, Apr 08 2013
MAPLE
M:=35; a:=array(-5..M); b:=array(-5..M); c:=array(-5..M); d:=array(-5..M);
for i from -5 to 0 do a[i]:=0; b[i]:=0; c[i]:=0; d[i]:=0; od: a[0]:=1;
for n from 1 to M do
a[n]:=a[n-1]+b[n-1]+d[n-1];
b[n]:=2*a[n-1]+b[n-1]+b[n-3]+c[n-2]+c[n-4];
c[n]:=2*a[n-1]+b[n-1]+b[n-2]+b[n-3]+c[n-3]+c[n-4];
d[n]:=b[n-1]+b[n-2]+c[n-1]+c[n-2]+c[n-3]; od:
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Mar 18 2007
STATUS
approved