OFFSET
1,2
FORMULA
Generalize a knight for a spatial board: a move consists of two steps in the first, one step in the second and no step in the third dimension. How many of such knights are needed to occupy or attack every field of an n X n X n board? Knights may attack each other.
EXAMPLE
Illustration for n = 3, 4, 5 ( O = empty field, K = knight ):
n = 3: OOO KKK OOO n = 4: OOOO OKOO OOOO OOOO
...... OKO OKO OKO ...... OOOO OKKK OOOO OOOO
...... OOO OOO OOO ...... OOOO KKKO OOOO OOOO
......................... OOOO OOKO OOOO OOOO
n = 5: 1, 2, 4 and 5 planes empty, 3 plane: OKOKO OKOKO KKKKK KOKOK OOKOO.
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Nikolaus Meyberg (Nikolaus.Meyberg(AT)t-online.de), Jul 17 2005
STATUS
approved