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.

A335050 Array read by descending antidiagonals, T(n,k) is the number of nodes in the pill tree with initial conditions (n,k), for n and k >= 0.

Original entry on oeis.org

1, 2, 3, 3, 7, 8, 4, 12, 21, 22, 5, 18, 40, 63, 64, 6, 25, 66, 130, 195, 196, 7, 33, 100, 231, 427, 624, 625, 8, 42, 143, 375, 803, 1428, 2054, 2055, 9, 52, 196, 572, 1376, 2805, 4860, 6916, 6917, 10, 63, 260, 833, 2210, 5016, 9877, 16794, 23712, 23713
Offset: 0

Views

Author

Michel Marcus, May 21 2020

Keywords

Comments

See Bayer and Brandt for a description of the pill tree.

Examples

			The array begins:
    1    2    3    4     5     6 ...
    3    7   12   18    25    33 ...
    8   21   40   66   100   143 ...
   22   63  130  231   375   572 ...
   64  195  427  803  1376  2210 ...
  196  624 1428 2805  5016  8398 ...
  ...
		

Crossrefs

Cf. A000108, A014138 (column 1), A120304 (column 2).
Cf. A002057 (first differences of column 3).

Programs

  • PARI
    T(n,k) = sum(j=0, n, binomial(2*j+k+2, j+1) - binomial(2*j+k+2, j));

Formula

T(0,k) = k+1; T(n,0) = 1 + T(n-1,1); T(n,k) = 1 + T(n-1,k+1) + T(n,k-1) for n and k > 0.
T(n,k) = Sum_{j=0..n} (binomial(2*j+k+2, j+1) - binomial(2*j+k+2, j)).