OFFSET
1,7
COMMENTS
The coefficient array for the minimal polynomials of 2*cos(Pi/n), n>=1, called C(n,x), is given in A187360. The zeros are also given there.
C(2,x)=x is the only C-polynomial with a vanishing zero.
FORMULA
a(n) is the number of nonnegative zeros of C(n,x), n>=1.
Computation, employing PIE (principle of inclusion and exclusion), for the three cases: n even, n odd, congruent 1 (mod 4), and n odd, congruent 3 (mod 4).
EXAMPLE
m=1: C(1,x) has only a negative zero -2, therefore a(1)=0.
n=2: C(2,x) has only a vanishing zero, therefore a(2)=1.
n=5: C(5,x) has one positive zero, namely 2*cos(Pi/5), the golden section, therefore a(5)=1.
n=8: C(8,x) has two positive zeros: 2*cos(Pi/8) = sqrt(2+sqrt(2)) and 2*cos(3*Pi/8)=sqrt(2-sqrt(2)), therefore a(8)=2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Wolfdieter Lang, Aug 02 2011
STATUS
approved