Every square with an even side length will have an equal number of black and white 1×1 squares, so it isn't a B-square. In a square with an odd side length, there is one more 1×1 black square than white squares, if it has black corner squares. So, a square with an odd side length is a B-square either if it is a 1×1 black square or it has black corners.
Let the given (2n+1)×(2n+1) chessboard be a B-square and denote by bi(i=1,2,…,n+1) the lines of the chessboard, which have n+1 black 1×1 squares, by wi(i=1,2,…,n) the lines of the chessboard, which have n black 1×1 squares and by Tm(m=1,3,5,…,2n−1,2n+1) the total number of B-squares of dimension m×m of the given chessboard.
For T1 we obtain T1=(n+1)(n+1)+n⋅n=(n+1)2+n2.
For computing T3 we observe that there are n3×3B-squares, which have the black corners on each pair of lines (bi,bi+1) for i=1,2,…,n and there are n−13×3B-squares, which have the black corners on each pair of lines (wi,wi+1) for i=1,2,…,n−1. So, we have
T3=n⋅n+(n−1)(n−1)=n2+(n−1)2.
By using similar arguments for each pair of lines (bi,bi+2) for i=1,2,…,n−1 and for each pair of lines (wi,wi+2) for i=1,2,…,n−2 we compute
T5=(n−1)(n−1)+(n−2)(n−2)=(n−1)2+(n−2)2
Step by step, we obtain
T7=(n−2)(n−2)+(n−3)(n−3)=(n−2)2+(n−3)2…………………………………………T2n−1=2⋅2+1⋅1=22+12T2n+1=1⋅1=12
The total number of B-squares of the given chessboard equals to
T1+T3+T5+…+T2n+1=2(12+22+…+n2)+(n+1)2=3n(n+1)(2n+1)+(n+1)2=3(n+1)(2n2+4n+3)
The problem is solved.
### 2.3 Geometry