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.

A068344 Square array read by antidiagonals of T(n,k) = sign(n-k).

Original entry on oeis.org

0, -1, 1, -1, 0, 1, -1, -1, 1, 1, -1, -1, 0, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 0, 1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, -1, -1, 0, 1, 1, 1, 1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, 0, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1
Offset: 0

Views

Author

Henry Bottomley, Mar 06 2002

Keywords

Examples

			The start of the array is:
   0;
  -1,   1;
  -1,   0,   1;
  -1,  -1,   1,   1;
  -1,  -1,   0,   1,   1;
  ...
- _Boris Putievskiy_, Dec 24 2012
		

Crossrefs

Cf. A049581, A057427, A057428, A002260, A004736. As a straight sequence, a(n)=0 when n is in A046092. A023532 seen as a triangle is half this square.

Formula

a(n-1) = sign(A002260(n) - A004736(n)) or a(n-1) = sign((n-t*(t+1)/2) - ((t*t+3*t+4)/2-n)) where t = floor((-1+sqrt(8*n-7))/2). - Boris Putievskiy, Dec 24 2012