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.

A135997 Table of triples T(k,m) = k (m=1), 2-k (m=2) and 1-k (m=3).

Original entry on oeis.org

0, 2, 1, 1, 1, 0, 2, 0, -1, 3, -1, -2, 4, -2, -3, 5, -3, -4, 6, -4, -5, 7, -5, -6, 8, -6, -7, 9, -7, -8, 10, -8, -9, 11, -9, -10, 12, -10, -11, 13, -11, -12, 14, -12, -13, 15, -13, -14, 16, -14, -15, 17, -15, -16, 18, -16, -17, 19, -17, -18, 20, -18, -19, 21, -19, -20, 22, -20, -21, 23
Offset: 0

Views

Author

Paul Curtz, Mar 03 2008

Keywords

Examples

			The table has 3 columns and starts:
  0, 2, 1;
  1, 1, 0;
  2, 0,-1;
  3,-1,-2;
		

Crossrefs

Cf. A022959 (row sums).

Programs

  • Mathematica
    Array[{#, 2 - #, 1 - #} &, 24, 0] // Flatten (* Michael De Vlieger, Oct 01 2017 *)

Extensions

Edited and extended by R. J. Mathar, Jul 22 2008