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.

A054372 Table of resultants for cyclotomic polynomials phi_k(x) and phi_n(x).

Original entry on oeis.org

0, 2, 0, 3, 1, 0, 2, 2, 1, 0, 5, 1, 1, 1, 0, 1, 3, 4, 1, 1, 0, 7, 1, 1, 1, 1, 1, 0, 2, 2, 1, 4, 1, 1, 1, 0, 3, 1, 9, 1, 1, 1, 1, 1, 0, 1, 5, 1, 1, 16, 1, 1, 1, 1, 0, 11, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 4, 9, 1, 4, 1, 1, 1, 1, 1, 0, 13, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 7, 1, 1, 1, 1, 64, 1, 1
Offset: 1

Views

Author

Keywords

Examples

			Triangle begins:
  0;
  2, 0;
  3, 1, 0;
  2, 2, 1, 0;
  5, 1, 1, 1, 0;
  1, 3, 4, 1, 1, 0;
  7, 1, 1, 1, 1, 1, 0;
  2, 2, 1, 4, 1, 1, 1, 0;
  ...
		

Programs

  • Mathematica
    Flatten[Table[Resultant[Cyclotomic[n, x], Cyclotomic[k, x], x], {k, 20}, {n, k}]]
  • PARI
    T(n, k) = polresultant(polcyclo(k), polcyclo(n));
    row(n) = vector(n, k, T(n, k)); \\ Michel Marcus, Aug 18 2021