OFFSET
0,1
COMMENTS
a(n) is obtained from the Girard-Waring formula for the sum of powers of N = 4 indeterminates (see A324602), with the elementary symmetric functions e_1 = -1, e_2 = -4, e_3 = -4 and e_4 = 1. The arguments are e_j(x_1, x_2, x_3, x_4), for j = 1..4, with the zeros {x_i}_{i=1..4} of the minimal polynomial of 2*cos(Pi/15) (see A187360, for n = 15), appearing to the power n in the formula given above. - Wolfdieter Lang, May 08 2019
LINKS
Index entries for linear recurrences with constant coefficients, signature (-1,4,4,-1).
FORMULA
G.f.: (4*x^3+8*x^2-3*x-4)/(-x^4+4*x^3+4*x^2-x-1). - Alois P. Heinz, Feb 27 2019
a(n) = -a(n-1) + 4*a(n-2) + 4*a(n-3) -a(n-4). - Greg Dresden, Feb 27 2019
MATHEMATICA
Table[Sum[(2.0 Cos[k Pi/15])^n, {k, {1, 7, 11, 13}}] // Round, {n, 1, 30}]
LinearRecurrence[{-1, 4, 4, -1}, {4, -1, 9, -1}, 40] (* Harvey P. Dale, Jun 02 2024 *)
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Greg Dresden, Feb 27 2019
STATUS
approved