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.

Showing 1-2 of 2 results.

A023445 n-3.

Original entry on oeis.org

-3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
Offset: 0

Views

Author

Keywords

Comments

For n >= 0, let M(n) be the matrix with first row = (n n+1) and 2nd row = (n+3 n+5). Then a(n) = det(M(n)). [From K.V.Iyer, Apr 11 2009]

Crossrefs

Programs

  • Mathematica
    Range[0,60]-3 (* Harvey P. Dale, Dec 09 2017 *)
  • PARI
    a(n)=n-3

Formula

a(n) = 2 a(n-1) - a(n-2). a(n) = -A022959(n). G.f.: (-3 + 4*x)/(1 - x)^2. - M. F. Hasler, Apr 18 2015

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
Showing 1-2 of 2 results.