cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 21-22 of 22 results.

A193681 Discriminant of minimal polynomial of 2*cos(Pi/n) (see A187360).

Original entry on oeis.org

1, 1, 1, 8, 5, 12, 49, 2048, 81, 2000, 14641, 2304, 371293, 1075648, 1125, 2147483648, 410338673, 1259712, 16983563041, 1024000000, 453789, 2414538435584, 41426511213649, 1358954496, 762939453125, 7340688973975552, 31381059609, 4739148267126784, 10260628712958602189, 324000000
Offset: 1

Views

Author

Wolfdieter Lang, Sep 13 2011

Keywords

Comments

For the discriminant of a polynomial in terms of the square of a determinant of a Vandermonde matrix build from the zeros of the polynomial see, e.g., A127670.
The zeros of the polynomials C(n,x) with coefficient triangle A187360 are given there in a comment.
The discriminant of the monic C(n,x) polynomial can also be computed from its zeros x_i and the derivative of C, via (-1)^binomial(delta(n),2)*product(C'(n,x)|_{x=x_i},i=1..delta(n)), with the degree delta(n)=A055034(n). For a reference see, e.g., Rivlin, p. 218, quoted in A127670.

Crossrefs

Programs

  • Maple
    g:= proc(n) local P,z,j;
       P:= factor(evala(Norm(z-convert(2*cos(Pi/n),RootOf))));
       if type(P,`^`) then P:= op(1,P) fi;
       discrim(P,z)
    end proc:
    map(g, [$1..100]); # Robert Israel, Aug 04 2015
  • Mathematica
    Table[NumberFieldDiscriminant[Cos[Pi/m]], {m, 1, z}]  (* Clark Kimberling, Aug 03 2015 *)

Formula

a(n) = discriminant(C(n,x)), n>=1, with C(n,x):=sum(A187360(n,m)*x^m,m=0..A055034(n)), the minimal polynomial of 2*cos(Pi/n).

A317403 a(n)=(-1)^((n-2)*(n-1)/2)*2^(n-1)*n^(n-3).

Original entry on oeis.org

1, 1, -4, -32, 400, 6912, -153664, -4194304, 136048896, 5120000000, -219503494144, -10567230160896, 564668382613504, 33174037869887488, -2125764000000000000, -147573952589676412928, 11034809241396899282944, 884295678882933431599104, -75613185918270483380568064
Offset: 1

Views

Author

Rigoberto Florez, Aug 26 2018

Keywords

Comments

Discriminant of Fibonacci polynomials.
Fibonacci polynomials are defined as F(0)=0, F(1)=1 and F(n)=x*F(n-1)+F(n-2) for n>1. Coefficients are given in triangle A168561 with offset 1.

Crossrefs

Programs

  • Magma
    [(-1)^((n-2)*(n-1) div 2)*2^(n-1)*n^(n-3): n in [1..20]]; // Vincenzo Librandi, Aug 27 2018
  • Mathematica
    Array[(-1)^((#-2)*(#-1)/2)*2^(#-1)*#^(#-3)&,20]
  • PARI
    concat([1], [poldisc(p) | p<-Vec(x/(1-x^2-y*x) - x + O(x^20))]) \\ Andrew Howroyd, Aug 26 2018
    
Previous Showing 21-22 of 22 results.