A086369 Number of factors over Q in the factorization of T_n(x) - 1 where T_n(x) is the Chebyshev polynomial of the first kind.
1, 2, 3, 4, 3, 6, 3, 6, 5, 6, 3, 10, 3, 6, 7, 8, 3, 10, 3, 10, 7, 6, 3, 14, 5, 6, 7, 10, 3, 14, 3, 10, 7, 6, 7, 16, 3, 6, 7, 14, 3, 14, 3, 10, 11, 6, 3, 18, 5, 10, 7, 10, 3, 14, 7, 14, 7, 6, 3, 22, 3, 6, 11, 12, 7, 14, 3, 10, 7, 14, 3, 22, 3, 6, 11, 10, 7, 14, 3, 18
Offset: 1
Keywords
Links
- Antti Karttunen, Table of n, a(n) for n = 1..2049
- Yusuf Z. Gürtaş, Chebyshev polynomials and the minimal polynomial of cos(2pi/n), Am. Math. Monthly 124 (1) (2017) 73-78, Theorem 1.
Programs
-
Mathematica
a[n_] := 2 * DivisorSigma[0, n] + Mod[n, 2] - 2; Array[a, 100] (* Amiram Eldar, Jun 30 2025 *)
-
PARI
a(n)={vecsum(factor(polchebyshev(n, 1, x)-1)[, 2])} \\ Andrew Howroyd, Jul 10 2018
-
PARI
a(n) = if(n%2==1, 1+2*sumdiv(n, d, d
Miles Englezou, Jun 22 2025 -
PARI
a(n) = 2 * numdiv(n) + n % 2 - 2; \\ Amiram Eldar, Jun 30 2025
Formula
a(p^m) = 2*m+1 for prime p > 2 and m >= 1. - Miles Englezou, Jun 22 2025
From Amiram Eldar, Jun 30 2025: (Start)
a(n) = 2*tau(n) + (n mod 2) - 2, where tau(n) = A000005(n).
Sum_{k=1..n} a(k) ~ 2*n * (log(n) + 2*gamma - 7/4), where gamma is Euler's constant (A001620). (End)
Extensions
a(14) corrected and a(21)-a(80) added by Andrew Howroyd, Jul 10 2018
Comments