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.

A134478 Triangle read by rows, T(0,0) = 1; n-th row = (n+1) terms of n, n+1, n+2, ...

Original entry on oeis.org

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

Views

Author

Gary W. Adamson, Oct 27 2007

Keywords

Comments

Apart from the irregular choice of T(0,0) the same as A051162. - R. J. Mathar, Mar 28 2012

Examples

			First few rows of the triangle:
  1;
  1, 2;
  2, 3, 4;
  3, 4, 5,  6;
  4, 5, 6,  7,  8;
  5, 6, 7,  8,  9, 10;
  6, 7, 8,  9, 10, 11, 12;
  7, 8, 9, 10, 11, 12, 13, 14;
  ...
		

Crossrefs

Cf. A051162, A134479 (row sums), A126804 (row products).

Programs

  • Mathematica
    Join[{1},Flatten[Table[Range[n,2n],{n,10}]]] (* Harvey P. Dale, Nov 21 2014 *)
  • PARI
    concat([1], for(n=1,10, for(k=0,n, print1(n+k, ", ")))) \\ G. C. Greubel, Sep 24 2017