OFFSET
1,5
LINKS
Christian Sievers, Table of n, a(n) for n = 1..1512 (board size up to 16 X 16)
EXAMPLE
T(4, 3) = 13 with the following 3 bishops on a 4x4 board:
+---+---+---+---+
4| | | B | |
+---+---+---+---+
3| | | B | |
+---+---+---+---+
2| | | B | |
+---+---+---+---+
1| | | | |
+---+---+---+---+
A B C D
The bishop at C4 has three legal moves and the bishops at C3 and C2 have five legal moves each.
Table begins:
n\k| 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
---+-------------------------------------------------
1| 0 0
2| 0 1 2 1 0
3| 0 4 6 8 8 8 8 6 4 0
4| 0 5 10 13 16 17 18 19 20 19 18 17 16 12 8 4 0
PROG
(Python) # (using PuLP library) see links section of A278214
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Peter Kagey, Nov 16 2016
EXTENSIONS
Definition corrected by Christian Sievers, Jun 11 2023
STATUS
approved