The Bruck-Ryser-Chowla theorem states that if , and the squarefree
part of
is divisible by a prime, then no difference
set of order exists. Equivalently, if a projective
plane of order exists, and or 2 (mod 4), then is the sum of two squares.
Dinitz and Stinson (1992) give the theorem in the following form. If a symmetric -block design exists, then