A113402 Algebraic degree of cos(Pi/n) for constructible n-gons (A003401).
1, 1, 1, 2, 2, 2, 4, 4, 4, 4, 8, 8, 8, 8, 8, 16, 16, 16, 16, 16, 16, 32, 32, 32, 32, 32, 32, 32, 64, 64, 64, 64, 64, 64, 64, 64, 128, 128, 128, 128, 128, 128, 128, 128, 128, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 512, 512, 512, 512, 512, 512, 512, 512, 512
Offset: 1
Links
- Robert G. Wilson v, Table of n, a(n) for n = 1..1632
- Eric Weisstein's World of Mathematics, Trigonometry Angles
Programs
-
Mathematica
f[n_] := Exponent[MinimalPolynomial[Cos[Pi/n]][x], x]; Table[ f@ n, {n, Select[ Range@ 1300, IntegerQ[ Log[2, EulerPhi[#]]] &]}] (* Robert G. Wilson v, Jul 28 2014 *) A092506 = {2, 3, 5, 17, 257, 65537}; s = Sort[Times @@@ Subsets@ A092506]; mx = 2500; t = Union@ Flatten@ Table[(2^n)*s[[i]], {i, 64}, {n, 0, Log2[mx/s[[i]]]}]; f[n_] := EulerPhi[ 2n]/2; f[1] = 1; f@# & /@ t (* Robert G. Wilson v, Jul 28 2014 *)
Comments