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.

A160570 Triangle read by rows, A160552 convolved with (1, 2, 2, 2, ...); row sums = A139250, the Toothpick sequence.

Original entry on oeis.org

1, 1, 2, 3, 2, 2, 1, 6, 2, 2, 3, 2, 6, 2, 2, 5, 6, 2, 6, 2, 2, 7, 10, 6, 2, 6, 2, 2, 1, 14, 10, 6, 2, 6, 2, 2, 3, 2, 14, 10, 6, 2, 6, 2, 2, 5, 6, 2, 14, 10, 6, 2, 6, 2, 2, 7, 10, 6, 2, 14, 10, 6, 2, 6, 2, 2, 5, 14, 10, 6, 2, 14, 10, 6, 2, 6, 2, 2, 11, 10, 14, 10, 6, 2, 14, 10, 6, 2, 6
Offset: 1

Views

Author

Gary W. Adamson, May 19 2009

Keywords

Examples

			First few rows of the triangle:
  1;
  1,  2;
  3,  2,  2;
  1,  6,  2,  2;
  3,  2,  6,  2,  2;
  5,  6,  2,  6,  2,  2;
  7, 10,  6,  2,  6,  2,  2;
  1, 14, 10,  6,  2,  6,  2,  2;
  3,  2, 14, 10,  6,  2,  6,  2,  2;
  5,  6,  2, 14, 10,  6,  2,  6,  2,  2;
  ...
Example: Row 4 = (1, 6, 2, 2) = (1, 3, 1, 1) dot (1, 2, 2, 2); where (1 + 6 + 2 + 2) = A139250(4), i.e., 4th term in the Toothpick sequence.
		

Crossrefs

Programs

  • Maple
    T:=proc(n,k)if(k=1)then return A160552(n):else return 2*A160552(n-k+1):fi:end:
    for n from 1 to 8 do for k from 1 to n do print(T(n,k));od:od: # Nathaniel Johnston, Apr 13 2011

Formula

Construct triangle M = an infinite lower triangular Toeplitz matrix with A160552: (1, 1, 3, 1, 3, 5, 7, ...) in every column. Let Q = an infinite lower triangular matrix with (1, 2, 2, 2, 2, ...) as the main diagonal and the rest zeros. A160570 = M * Q.