OFFSET
0,5
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 tetragon (parallelogram) with side length one. - Frank Hollstein, May 01 2019
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,1,-8,2,4).
FORMULA
a(n) = 2*A005674(n).
G.f.: -2*x^4/((2*x-1)*(2*x^2-1)*(x^2+x-1)). [Maksym Voznyy (voznyy(AT)mail.ru), Aug 12 2009]
PROG
(PARI) a(n)=([0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1; 4, 2, -8, 1, 3]^n*[0; 0; 0; 0; 2])[1, 1] \\ Charles R Greathouse IV, Jun 02 2026
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved