OFFSET
0,6
COMMENTS
a(n) is also the number of different ways to fold down a folding yardstick with n sticks (stick length is one) to form an equilateral pentagon with side length one. - Frank Hollstein, May 01 2019
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,2,-11,3,6).
FORMULA
For n>0, a(n) = 2*Fibonacci(n+3) + 2^n + [5(-1)^n - 19]*3^[n/2-1]. - Ralf Stephan, May 13 2004
G.f.: 2*x^5/((1-2*x)*(1-x-x^2)*(1-3*x^2)). [Colin Barker, Sep 20 2012]
MATHEMATICA
CoefficientList[Series[2 x^5/((1 - 2 x) (1 - x - x^2) (1 - 3 x^2)), {x, 0, 40}], x] (* Vincenzo Librandi, Oct 18 2013 *)
LinearRecurrence[{3, 2, -11, 3, 6}, {0, 0, 0, 0, 0, 2}, 40] (* Harvey P. Dale, Oct 12 2019 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved