login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A278828
King's moves in chess: possible difference between origin and destination square when the squares are numbered sequentially row by row.
5
-9, -8, -7, -1, 1, 7, 8, 9
OFFSET
1,1
COMMENTS
Let the squares of a standard (8 X 8) chessboard be numbered sequentially from 1 to 64, row by row (e.g., a1 = 1, b1 = 2, ..., a2 = 9, ..., h8 = 64). Let X be the number of a square a king stands on, and Y the number of a square to which it can move. Then this sequence lists all possible values of Y-X.
The terms are independent of the precise numbering scheme, provided that the numbers of the four possible neighbors of a square differ by +- 1 in one direction and +- 8 in the other direction. For example, one could also use number = row + 8 * column, where row and column range from 1 to 8, or from 0 to 7.
EXAMPLE
Moving one row up yields a difference Y - X = +8. Moving one square diagonally down and right yields a difference Y - X = +1 - 8 = -7.
CROSSREFS
Cf. A278824 - A278827, A278829 (analog for Knights, ..., Queens and Pawns).
This is a subsequence of A278827: Queen's moves.
Sequence in context: A094145 A002388 A248080 * A334448 A011116 A106334
KEYWORD
sign,fini,full,easy
AUTHOR
M. F. Hasler, Nov 28 2016
STATUS
approved