Nobody asked me, but I took the time to expand that polynomial. I get the following coefficients for balanced number of kings:Rein Halbersma wrote: ↑Sun Mar 01, 2026 3:29 pm[...]
I'm curious to learn what prompt you gave ChatGPT to get that result. I instructed Gemini to expand the Cycle Index Polynomial and the result is the same (647,156,159,148 positions):
The problem is how to enumerate that number. Do you have any idea or suggestion? Ideally, I'd like it to be a sum of products of binomials, so that one can index each term in the sum efficiently. But there are many cases (e.g. there can be 0, 2, or 4 kings on the main diagonal for each color, the other kings are unrestricted, and for those positions you have to restrict one to a 15 square triangle, but which king?)Expand ((e+b+w)^50 + 2*(e^2+b^2+w^2)^25 + (e+b+w)^10 * (e^2+b^2+w^2)^20)/4 and collect the coefficient of the term e^40 b^5 w^5
[...]
Code: Select all
1v1 635 = 6.35e+02
2v2 346,610 ~ 3.47e+05
3v3 79,471,500 ~ 7.95e+07
4v4 9,395,670,480 ~ 9.40e+09
5v5 647,156,159,148 ~ 6.47e+11
6v6 28,043,341,976,500 ~ 2.80e+13
7v7 804,671,702,946,840 ~ 8.05e+14
8v8 15,841,972,289,777,550 ~ 1.58e+16
9v9 219,440,646,312,796,310 ~ 2.19e+17
10v10 2,176,851,194,198,517,880 ~ 2.18e+18
11v11 15,651,739,947,869,895,120 ~ 1.57e+19
12v12 82,171,634,651,800,132,320 ~ 8.22e+19
13v13 316,044,748,532,126,283,600 ~ 3.16e+20
14v14 890,085,210,010,964,159,760 ~ 8.90e+20
15v15 1,827,641,631,066,232,556,256 ~ 1.83e+21
16v16 2,712,905,546,038,783,327,650 ~ 2.71e+21
17v17 2,872,488,225,191,442,225,390 ~ 2.87e+21
18v18 2,127,769,055,759,077,734,300 ~ 2.13e+21
19v19 1,072,725,673,607,032,147,560 ~ 1.07e+21
20v20 353,999,472,353,840,959,360 ~ 3.54e+20Code: Select all
2v1 2 * 14,840 = 29,680 ~ 2.97e+04
3v1 2 * 230,960 = 461,920 ~ 4.62e+05
3v2 2 * 5,300,880 = 10,601,760 ~ 1.06e+07
4v2 2 * 59,608,980 = 119,217,960 ~ 1.19e+08
4v3 2 * 874,056,900 = 1,748,113,800 ~ 1.75e+09
5v3 2 * 7,516,525,680 = 15,033,051,360 ~ 1.50e+10
5v4 2 * 78,921,989,760 = 157,843,979,520 ~ 1.58e+11
6v4 2 * 539,297,251,050 = 1,078,594,502,100 ~ 1.08e+12
6v5 2 * 4,314,364,289,520 = 8,628,728,579,040 ~ 8.63e+12
7v5 2 * 24,037,149,986,160 = 48,074,299,972,320 ~ 4.81e+13
7v6 2 * 152,235,214,857,840 = 304,470,429,715,680 ~ 3.04e+14
8v6 2 * 704,087,755,467,250 = 1,408,175,510,934,500 ~ 1.41e+15
8v7 2 * 3,621,022,373,235,660 = 7,242,044,746,471,320 ~ 7.24e+15
9v7 2 * 14,081,753,144,384,760 = 28,163,506,288,769,520 ~ 2.82e+16
9v8 2 * 59,847,449,599,652,250 = 119,694,899,199,304,500 ~ 1.20e+17
10v8 2 * 197,496,581,929,453,740 = 394,993,163,858,907,480 ~ 3.95e+17
10v9 2 * 702,210,064,587,461,920 = 1,404,420,129,174,923,840 ~ 1.40e+18
11v9 2 * 1,978,955,631,094,417,280 = 3,957,911,262,188,834,560 ~ 3.96e+18
11v10 2 * 5,936,866,882,622,701,440 = 11,873,733,765,245,402,880 ~ 1.19e+19
12v10 2 * 14,347,428,287,589,416,320 = 28,694,856,575,178,832,640 ~ 2.87e+19
12v11 2 * 36,520,726,524,348,659,600 = 73,041,453,048,697,319,200 ~ 7.30e+19
13v11 2 * 75,850,739,678,673,563,520 = 151,701,479,357,347,127,040 ~ 1.52e+20
13v12 2 * 164,343,269,262,082,878,240 = 328,686,538,524,165,756,480 ~ 3.29e+20
14v12 2 * 293,470,123,645,873,934,760 = 586,940,247,291,747,869,520 ~ 5.87e+20
14v13 2 * 541,790,997,431,281,848,000 = 1,083,581,994,862,563,696,000 ~ 1.08e+21
15v13 2 * 830,746,196,010,370,674,240 = 1,661,492,392,020,741,348,480 ~ 1.66e+21
15v14 2 * 1,305,458,307,947,276,155,200 = 2,610,916,615,894,552,310,400 ~ 2.61e+21
16v14 2 * 1,713,414,029,145,188,234,700 = 3,426,828,058,290,376,469,400 ~ 3.43e+21
16v15 2 * 2,284,552,038,789,114,376,920 = 4,569,104,077,578,228,753,840 ~ 4.57e+21
17v15 2 * 2,553,322,866,859,429,497,360 = 5,106,645,733,718,858,994,720 ~ 5.11e+21
17v16 2 * 2,872,488,225,191,442,225,390 = 5,744,976,450,382,884,450,780 ~ 5.74e+21
18v16 2 * 2,712,905,546,038,783,327,650 = 5,425,811,092,077,566,655,300 ~ 5.43e+21
18v17 2 * 2,553,322,866,859,429,497,360 = 5,106,645,733,718,858,994,720 ~ 5.11e+21
19v17 2 * 2,015,781,210,717,335,988,960 = 4,031,562,421,434,671,977,920 ~ 4.03e+21
19v18 2 * 1,567,829,830,593,805,143,200 = 3,135,659,661,187,610,286,400 ~ 3.14e+21
20v18 2 * 1,019,089,389,940,964,118,920 = 2,038,178,779,881,928,237,840 ~ 2.04e+21Regards from Spain.
Ajedrecista.
