Bishops Problem

DOWNLOAD Mathematica Notebook BishopsMax

Find the maximum number of bishops B(n) that can be placed on an n×n chessboard such that no two attack each other. The answer is 2n-2 (Dudeney 1970, Madachy 1979), giving the sequence 2, 4, 6, 8, ... (the even numbers) for n=2, 3, .... One maximal solution for n=8 is illustrated above. The numbers of distinct maximal arrangements for n=1, 2, ... bishops are 1, 4, 26, 260, 3368, ... (OEIS A002465). The numbers of rotationally and reflectively distinct solutions on an n×n board for n>=2 is

 B(n)={2^((n-4)/2)[2^((n-2)/2)+1]   for n even; 2^((n-3)/2)[2^((n-3)/2)+1]   for n odd
(1)

for n>1 (Dudeney 1970, p. 96; Madachy 1979, p. 45; Pickover 1995). An equivalent formula also valid for n>1 is

 B(n)=2^(n-3)+2^(|_(n-1)/2_|-1),
(2)

where |_n_| is the floor function, giving the sequence for n=1, 2, ... as 1, 1, 2, 3, 6, 10, 20, 36, ... (OEIS A005418).

BishopsMin

The minimum number of bishops needed to occupy or attack all squares on an n×n chessboard is n, arranged as illustrated above.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.