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.

A167289 Signature sequence of the smallest Salem number of degree 18 (A219300).

Original entry on oeis.org

1, 2, 1, 3, 2, 1, 4, 3, 2, 1, 5, 4, 3, 2, 1, 6, 5, 4, 3, 2, 1, 7, 6, 5, 4, 3, 2, 8, 1, 7, 6, 5, 4, 3, 9, 2, 8, 1, 7, 6, 5, 4, 10, 3, 9, 2, 8, 1, 7, 6, 5, 11, 4, 10, 3, 9, 2, 8, 1, 7, 6, 12, 5, 11, 4, 10, 3, 9, 2, 8, 1, 7, 13, 6, 12, 5, 11, 4, 10, 3, 9, 2, 8, 14, 1, 7, 13, 6, 12, 5, 11, 4, 10, 3, 9, 15
Offset: 1

Views

Author

Roger L. Bagula, Nov 01 2009

Keywords

Crossrefs

Programs

  • Mathematica
    a = {1, -1, 1, -1, 0, 0, -1, 1, -1};
    b = Join[a, {1}, Reverse[a]];
    p[x_] = Sum[b[[n]]*x^(n - 1), {n, 1, Length[b]}];
    m = Root[p[x], 2];
    Take[Transpose[Sort[Flatten[Table[{i + j*m, i}, {i, 25}, {j, 17}], 1], #1[[1]] < #2[[1]] &]][[2]], 95]