A048987
Number of possible chess games at the end of the n-th ply.
Original entry on oeis.org
1, 20, 400, 8902, 197281, 4865609, 119060324, 3195901860, 84998978956, 2439530234167, 69352859712417, 2097651003696806, 62854969236701747, 1981066775000396239, 61885021521585529237, 2015099950053364471960
Offset: 0
- A. Bertilsson, Distributed Perft Project [also found a(11)]
- James Grime and Brady Haran, How many chess games are possible? (Numberphile video), 2015.
- Jakub Kowalski, Marek Szykuła, Experimental Studies in General Game Playing: An Experience Report, University of Wrocław, (Poland, 2020).
- F. Labelle, Statistics on chess games
- T. Sillke, number of legal chess positions
- R. P. Stanley, Extremal [Chess] Problems
- Wikipedia, Shannon number
- Index entries for sequences related to number of chess games
a(11) from
François Labelle, Jul 25 2004, who thanks Joost de Heer for providing computer time
a(14) from
Richard Bean on Jul 24 2018, value from Peter Osterlund and Ankan Banerjee
a(15) from
Paul Barnett on Jul 04 2022, value from wikipedia page "Shannon number"
A006494
Number of possible chess games at the end of the n-th ply plus number of games that terminate (i.e., mate) in fewer than n plies.
Original entry on oeis.org
1, 20, 400, 8902, 197281, 4865617, 119060679, 3195913043, 84999425906, 2439540533153, 69353270203366, 2097660204806910, 62855340727822758, 1981075507583376209
Offset: 0
Ken Thompson (ken(AT)google.com)
- James Gleick, Faster, Vintage Books, NY, 2000 (see pp. 259-261).
a(11) from
François Labelle, Jul 25 2004, who thanks Joost de Heer for providing computer time
A019319
Number of possible chess diagrams after n plies.
Original entry on oeis.org
1, 20, 400, 5362, 71852, 815677, 9260610, 94305342, 958605819, 8866424380, 81766238574, 692390232505
Offset: 0
Bernd Schwarzkopf (schwarzkopf(AT)uni-duesseldorf.de)
- Bernd Schwarzkopf, Die ersten Züge (The First Moves), Problemkiste (No. 92, April 1994, p. 142-143).
A089956
Number of chess games that end in check (but not checkmate) after exactly n plies.
Original entry on oeis.org
0, 0, 0, 12, 461, 27004, 798271, 32668081, 959129557, 35695709940, 1078854669486, 39147687661803, 1224448528652016, 44252532348552226
Offset: 0
a(11) from
François Labelle, Jul 25 2004, who thanks Joost de Heer for providing computer time.
A157851
Number of possible Fischer Random Chess games at the end of the n-th ply.
Original entry on oeis.org
960, 18882, 371766, 8224968, 181106056, 4433048830, 107637760217, 2854198413886, 75006431287937
Offset: 0
a(0) = 4 (Bishop) * 4 (Bishop) * 6 (Queen) * 10 (Knights) * 1 (King and Rooks) = 960.
a(1) = 36*18 + 204*19 + 204*19 + 516*20 + 90 + 72 = 18882.
a(2) = 22*18^2 + (162+160+8+6)*19^2 + (454+28+22+20+16)*20^2 + (34+28)*21^2 = 371766.
-
import chess
def A157851(n, b = None): return (b.legal_moves.count() if b else 960) if not n else sum(b.push(m) or A157851(n-1, b)+(not b.pop()) for m in b.legal_moves) if b else sum(A157851(n-1, chess.Board.from_chess960_pos(s)) for s in range(960)) # (For illustration, slow for n > 3.) - M. F. Hasler, Apr 25 2023
a(6) added by Richard Pijl (richard.pijl(AT)telenet.be). -
Johannes W. Meijer, May 29 2010
A258110
Number of Mirror Chess games that end in checkmate after exactly n moves.
Original entry on oeis.org
0, 0, 0, 0, 3, 212, 10592, 449977, 17727425, 680781219, 26046238416, 1001222256515, 38764377926857, 1511202832516487
Offset: 0
a(4) = 3 because of these checkmates:
1. c4 c5 2. Qa4 Qa5 3. Qc6 Qc3 4. Qxc8#
1. d4 d5 2. Qd3 Qd6 3. Qh3 Qh6 4. Qxc8#
1. d4 d5 2. Qd3 Qd6 3. Qf5 Qf4 4. Qxc8#
Showing 1-6 of 6 results.
Comments