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.

A128179 A097807 * A002260.

Original entry on oeis.org

1, 0, 2, 1, 0, 3, 0, 2, 0, 4, 1, 0, 3, 0, 5, 0, 2, 0, 4, 0, 6, 1, 0, 3, 0, 5, 0, 7, 0, 2, 0, 4, 0, 6, 0, 8, 1, 0, 3, 0, 5, 0, 7, 0, 9, 0, 2, 0, 4, 0, 6, 0, 8, 0, 10
Offset: 1

Views

Author

Gary W. Adamson, Feb 17 2007

Keywords

Comments

Row sums = A002620: (1, 2, 4, 6, 9, 12, 16, 20, 25, 30, ...).
General case see A211161. Let B and C be sequences. By b(n) and c(n) denote elements B and C respectively. Table T(n,k) = b(n), if k is odd, c(k) if k is even read by antidiagonals. For this sequence b(n)=n, b(n)=A000027(n), c(n)=0, c(n)=A000004(n). - Boris Putievskiy, Feb 05 2013

Examples

			From _Boris Putievskiy_, Feb 05 2013: (Start)
The start of the sequence as a table:
  1, 0, 1, 0, 1, 0, 1, ...
  2, 0, 2, 0, 2, 0, 2, ...
  3, 0, 3, 0, 3, 0, 3, ...
  4, 0, 4, 0, 4, 0, 4, ...
  5, 0, 5, 0, 5, 0, 5, ...
  6, 0, 6, 0, 6, 0, 6, ...
  7, 0, 7, 0, 7, 0, 7, ...
  ... (End)
First few rows of the triangle:
  1;
  0, 2;
  1, 0, 3;
  0, 2, 0, 4;
  1, 0, 3, 0, 5;
  0, 2, 0, 4, 0, 6;
  1, 0, 3, 0, 5, 0, 7;
  ...
		

Crossrefs

Formula

A097807 * A002260 as infinite lower triangular matrices. k-th column = (k, 0, k, 0, ...).
From Boris Putievskiy, Feb 05 2013: (Start)
T(n,k) = (1-(-1)^k)*n/2;
a(n) = (1-(-1)^A004736(n))*A002260(n)/2;
a(n) = (1-(-1)^j)*i/2, where i = n-t*(t+1)/2, j = (t*t+3*t+4)/2-n, t = floor((-1+sqrt(8*n-7))/2). (End)