A260090 Maximum number of kings on an n X n chessboard such that no king attacks more than one other king.
1, 2, 4, 8, 12, 16, 21, 26, 33, 40, 48, 56, 65, 74, 85, 96, 108, 120, 133, 146, 161, 176, 192, 208, 225, 242, 261, 280, 300, 320, 341, 362, 385, 408, 432, 456, 481, 506, 533, 560, 588, 616, 645, 674, 705, 736, 768, 800, 833, 866, 901, 936, 972, 1008, 1045
Offset: 1
Examples
a(8) = 26: XX_XX_XX ________ XX_XX_XX ________ XX_XX_X_ _______X X_X_X___ X_X_X_XX a(15) = 85: XX_XX_XX_XX_X_X ____________X_X XX_X_X_X_XX____ ___X_X_X____X_X XX_______XX_X_X ___XX_XX_______ XX_______X_X_XX ___X_X_X_X_X___ XX_X_X_______XX _______XX_XX___ X_X_XX_______XX X_X____X_X_X___ ____XX_X_X_X_XX X_X____________ X_X_XX_XX_XX_XX
References
- Dale Gerdemann et al., Discussions on Sequence Fans Mailing List, July 15 2015.
- Patricia Marx, Let's Be Less Stupid, Hachette, 2015.
Links
- Yifan Xie, Table of n, a(n) for n = 1..10000
- Manfred Scheucher, Python Script
Crossrefs
Programs
-
PARI
a(n)=if(n==3, 4, (n*(n+2) + if(n%3 == 2, 1, 0) - 3*if(n%6 == 2, 1, 0))/3); \\ Yifan Xie, Mar 22 2025
Formula
Conjecture: For n != 3, a(n) = n(n+2)/3 + [n mod 3 = 2]/3 - [n mod 6 = 2]
Equivalent conjecture for n >= 5: a(n) = a(n-1) + n - A103469(n-2). - Bob Selcoe, Jul 17 2015
Extensions
More terms from Yifan Xie, Mar 22 2025
Comments