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.

A375747 Table read by rows: T(n,k) for n >= 3 and k=1,2,...,2*n-1 are the distinct eigenvalues of the twisted odd graph O^(sigma)_n.

Original entry on oeis.org

3, 2, 1, -1, -2, 4, 3, 2, 1, -1, -2, -3, 5, 4, 3, 2, 1, -1, -2, -3, -4, 6, 5, 4, 3, 2, 1, -1, -2, -3, -4, -5, 7, 6, 5, 4, 3, 2, 1, -1, -2, -3, -4, -5, -6, 8, 7, 6, 5, 4, 3, 2, 1, -1, -2, -3, -4, -5, -6, -7, 9, 8, 7, 6, 5, 4, 3, 2, 1, -1, -2, -3, -4, -5, -6, -7, -8
Offset: 3

Views

Author

Miquel A. Fiol, Aug 26 2024

Keywords

Examples

			The table begins:
  3  2  1 -1 -2
  4  3  2  1 -1 -2 -3
  5  4  3  2  1 -1 -2 -3 -4
  6  5  4  3  2  1 -1 -2 -3 -4 -5
  7  6  5  4  3  2  1 -1 -2 -3 -4 -5 -6
  ...
		

Crossrefs

Cf. A001700.

Programs

  • Mathematica
    T[n_,k_]:=If[k==1, n, If[1Stefano Spezia, Aug 27 2024 *)

Formula

T(n,1) = n; T(n,k) = n+1-k for k=2,...,n; T(n,k) = n-k for k=n+1,...,2n-1.