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.

A161780 Square array read by antidiagonals up. Redheffer type matrix. A007427 interleaved with k-1 zeros in the columns.

Original entry on oeis.org

1, -2, 1, -2, 1, 1, 1, 0, 0, 1, -2, -2, 1, 0, 1, 4, 0, 0, 0, 0, 1, -2, -2, 0, 1, 0, 0, 1, 0, 0, -2, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, -2, -2, -2, 0, 1, 0, 0, 0, 0, 1, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -2, 4, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 4, 0, 1
Offset: 1

Views

Author

Mats Granvik, Jun 19 2009

Keywords

Comments

The determinant of this matrix is A006218.

Examples

			Table begins:
..1..1..1..1..1..1..1..1
.-2..1..0..0..0..0..0..0
.-2..0..1..0..0..0..0..0
..1.-2..0..1..0..0..0..0
.-2..0..0..0..1..0..0..0
..4.-2.-2..0..0..1..0..0
.-2..0..0..0..0..0..1..0
..0..1..0.-2..0..0..0..1
		

Crossrefs

Programs

  • Excel
    =if(row()=1;1;if(mod(row();column())=0;1*lookup(row()/column();A000027;A007427);0))