a q queens problem
play

A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY - PowerPoint PPT Presentation

A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY Joint work with Thomas Zaslavsky, Binghamton University (SUNY) and Seth Chaiken, University at Albany (SUNY) qc.edu/chanusa > Research > Talks n -Queens q -Queens Formulas


  1. A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY Joint work with Thomas Zaslavsky, Binghamton University (SUNY) and Seth Chaiken, University at Albany (SUNY) qc.edu/chanusa > Research > Talks

  2. n -Queens q -Queens Formulas What’s Next? When Queens Attack! A queen is a chess piece that can move horizontally, vertically, and diagonally. Q A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 1 / 14

  3. n -Queens q -Queens Formulas What’s Next? When Queens Attack! ◮ Two pieces are attacking when A queen is a chess piece that can move horizontally, vertically, and diagonally. Q one piece can move to the other’s square. ◮ A configuration is a placement of chess pieces on a chessboard. ◮ A configuration is nonattacking if no two pieces are attacking. A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 1 / 14

  4. n -Queens q -Queens Formulas What’s Next? When Queens Attack! ◮ Two pieces are attacking when A queen is a chess piece that can move horizontally, vertically, and diagonally. Q one piece can move to the other’s square. ◮ A configuration is a placement of chess pieces on a chessboard. ◮ A configuration is nonattacking if no two pieces are attacking. A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 1 / 14

  5. n -Queens q -Queens Formulas What’s Next? When Queens Attack! ◮ Two pieces are attacking when A queen is a chess piece that can move horizontally, vertically, and diagonally. Q one piece can move to the other’s square. ◮ A configuration is a placement of chess pieces on a chessboard. ◮ A configuration is nonattacking if no two pieces are attacking. Question: How many nonattack’g queens might fit on a chessboard? A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 1 / 14

  6. n -Queens q -Queens Formulas What’s Next? The 8-Queens Problem Q: Can you place 8 nonattacking queens on an 8 × 8 chessboard? A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 2 / 14

  7. n -Queens q -Queens Formulas What’s Next? The 8-Queens Problem Q: Can you place 8 nonattacking queens on an 8 × 8 chessboard? A: Yes! A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 2 / 14

  8. n -Queens q -Queens Formulas What’s Next? The 8-Queens Problem Q: In how many ways Q: Can you place 8 nonattacking queens on an 8 × 8 chessboard? A: Yes! A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 2 / 14

  9. n -Queens q -Queens Formulas What’s Next? The 8-Queens Problem Q: In how many ways Q: Can you place 8 nonattacking queens on an 8 × 8 chessboard? 92 A: Yes! A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 2 / 14

  10. n -Queens q -Queens Formulas What’s Next? The 8-Queens Problem Q: In how many ways Q: Can you place 8 nonattacking queens on an 8 × 8 chessboard? 92 A: Yes! The n -Queens Problem: Find a formula for the number of nonattacking configurations of n queens on an n × n chessboard. 1 2 3 4 5 6 7 8 9 10 n # 1 0 0 2 10 4 40 92 352 724 A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 2 / 14

  11. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: # nonatt. configs of n queens on a n × n square board A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  12. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B ◮ A number q . # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  13. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A piece P is defined by its moves ( c , d ) ∈ M . ◮ A number q . ( x , y ) − → ( x , y ) + α ( c , d ) for α ∈ Z # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  14. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A piece P is defined by its moves ( c , d ) ∈ M . ◮ A number q . ( x , y ) − → ( x , y ) + α ( c , d ) for α ∈ Z Q Queen: # of pieces in config. M = { (1 , 0) , (0 , 1) , ◮ A piece P . (1 , 1) , (1 , − 1) } A set of basic moves. B Bishop: M = { (1 , 1) , (1 , − 1) } ◮ A board B . A convex polygon and its dilations. A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  15. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A piece P is defined by its moves ( c , d ) ∈ M . ◮ A number q . ( x , y ) − → ( x , y ) + α ( c , d ) for α ∈ Z Q Queen: # of pieces in config. M = { (1 , 0) , (0 , 1) , ◮ A piece P . (1 , 1) , (1 , − 1) } A set of basic moves. B Bishop: M = { (1 , 1) , (1 , − 1) } ◮ A board B . N Nightrider: A convex polygon M = { (1 , 2) , (1 , − 2) , and its dilations. (2 , 1) , (2 , − 1) } A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  16. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A board is the set of integral points ◮ A number q . on the interior of a dilation of a rational convex polygon B ⊂ R 2 # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. (dilation t vs. boardsize n ) A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  17. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A board is the set of integral points ◮ A number q . on the interior of a dilation of a rational convex polygon B ⊂ R 2 # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. (dilation t vs. boardsize n ) A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  18. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A board is the set of integral points ◮ A number q . on the interior of a dilation of a rational convex polygon B ⊂ R 2 # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. (dilation t vs. boardsize n ) A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  19. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A board is the set of integral points ◮ A number q . on the interior of a dilation of a rational convex polygon B ⊂ R 2 # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. (dilation t vs. boardsize n ) A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  20. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A board is the set of integral points ◮ A number q . on the interior of a dilation of a rational convex polygon B ⊂ R 2 # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. (dilation t vs. boardsize n ) A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

  21. n -Queens q -Queens Formulas What’s Next? From n -Queens to q -Queens The n -Queens Problem: A q -Queens Problem: # nonatt. configs of n queens # nonatt. configs of q pieces P on a n × n square board on dilations of a polygonal board B A board is the set of integral points ◮ A number q . on the interior of a dilation of a rational convex polygon B ⊂ R 2 # of pieces in config. ◮ A piece P . A set of basic moves. ◮ A board B . A convex polygon and its dilations. (dilation t vs. boardsize n ) A q -Queens Problem Christopher R. H. Hanusa Queens College, CUNY 3 / 14

Recommend


More recommend