|
Search: id:A086663
|
|
|
| A086663 |
|
Number of non-attacking knights on a n*n board with all non-perimeteral squares removed. |
|
+0 1
|
|
| 1, 4, 4, 8, 12, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, 92, 96, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 148, 152, 156, 160, 164, 168, 172, 176, 180, 184, 188, 192, 196, 200, 204, 208, 212, 216, 220, 224, 228
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
The basic maximal arrangement is with a knight in each corner and any centers of edges. The remaining 16 squares are coupled together, so only half may be used.
|
|
FORMULA
|
a(n)=4*(n-3) for n>5
|
|
EXAMPLE
|
One of the maximal arrangements for a(8):
k-kkkk-k
-......-
k......k
k......k
k......k
k......k
-......-
k-kkkk-k
|
|
PROGRAM
|
(PARI) a(n)=local(r); r=4+4*max(0, n-6); if (n>3, r+=8); if (n==4, r-=4); r for (i=2, 40, print1(a(i)", "))
|
|
CROSSREFS
|
Sequence in context: A014687 A152967 A004024 this_sequence A003829 A002368 A022087
Adjacent sequences: A086660 A086661 A086662 this_sequence A086664 A086665 A086666
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
Jon Perry (perry(AT)globalnet.co.uk), Jul 27 2003
|
|
EXTENSIONS
|
More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Mar 28 2005
|
|
|
Search completed in 0.002 seconds
|