OFFSET
0,1
LINKS
D. Deford, Seating rearrangements on arbitrary graphs, Involve 7(6): 787-805 (2014). See Table 2.
Index entries for linear recurrences with constant coefficients, signature (3,3,-12,0,12,-3,-3,1).
FORMULA
G.f.: -(5*x^7 +10*x^6 -70*x^5 +6*x^4 +122*x^3 -38*x^2 -43*x +16) / ((x -1)*(x +1)*(x^2 -3*x +1)*(x^2 -x -1)*(x^2 +x -1)). - Colin Barker, Sep 12 2014
MAPLE
with(combinat);
L := n->fibonacci(n+1)+fibonacci(n-1);
f:= n-> if (n mod 2) = 0 then (L(n)+2)^2 else L(2*n)+2; fi;
[seq(f(n), n=0..20)];
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 17 2013
STATUS
approved