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.

A279406 Irregular triangle read by rows: T(n,k) (n>=1, 0 <= k <= n^2) = minimal number of squares attacked by k queens on an n X n toroidal board.

Original entry on oeis.org

0, 1, 0, 4, 4, 4, 4, 0, 9, 9, 9, 9, 9, 9, 9, 9, 9, 0, 12, 14, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 0, 17, 22, 23, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 0, 20, 26, 30, 30, 32, 32, 34, 34, 34
Offset: 1

Views

Author

Andrey Zabolotskiy, Dec 11 2016

Keywords

Comments

A279405(n) is maximal m such that T(n,m) >= m.
Generally, T(n,k') <= n^2-k if and only if T(n,k) <= n^2-k'.

Examples

			The triangle begins:
0 1
0 4 4 4 4
0 9 9 9 9 9 9 9 9 9
0 12 14 15 15 16 16 16 16 16 16 16 16 16 16 16 16
		

Crossrefs

Formula

T(n,0) = 0.
T(n,k) = A000290(n) for k > A000290(n) - T(n,1).
T(n,1) = A047461(n) = A000290(n) - A279403(n,1).