OFFSET
1,2
COMMENTS
If p is an odd prime then a(p) = 3.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..2049
Y. Z. Gurtas, Chebyshev polynomials and the minimal polynomial of cos(2pi/n), Am. Math. Monthly 124 (1) (2017) 73-78, Theorem 1.
FORMULA
PROG
(PARI) a(n)={vecsum(factor(polchebyshev(n, 1, x)-1)[, 2])} \\ Andrew Howroyd, Jul 10 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Yuval Dekel (dekelyuval(AT)hotmail.com), Sep 08 2003
EXTENSIONS
a(14) corrected and a(21)-a(80) added by Andrew Howroyd, Jul 10 2018
STATUS
approved