How this calculation works
Construct or complete a small simple balanced incomplete block design and verify every point replication and pair coverage count.
bk=vr and r(k−1)=lambda(v−1); every unordered pair of distinct points belongs to exactly lambda blocks.A worked example
The Fano2-(7,3,1) design has seven blocks of size three and replication r=3. Its seven blocks cover all21point pairs exactly once.
Good to know
2≤v≤9,2≤k<v, lambda1–3, distinct unordered blocks, at most126 candidate k-subsets and a fixed search cap. Require integer b and r consistency first, honor supplied fixed blocks, then complete pair counts exactly. Return one construction or proven infeasible only after exhaustive completion; necessary parameter identities alone never prove existence.
Reference: SageMath balanced incomplete block design documentation (opens in a new tab) ↗
Blocks balance unordered pairs
A balanced incomplete block design groups v labeled points into blocks of size k so that each pair of distinct points occurs together in exactly lambda blocks. Every point then occurs in the same number r of blocks. The design is incomplete because a block does not contain the entire point set, not because the final answer may leave pair requirements unfinished.
This page constructs or completes a simple design, meaning repeated identical blocks are not allowed. That assumption must be stated because designs permitting repeated blocks can have different existence and completion behavior. The task differs from a fractional factorial design, whose alias structure concerns factor contrasts rather than regular incidence of all unordered point pairs.
Compare this with the Fractional factorial design alias structure calculator from generators. Construct or complete a simple2-(v,k,lambda) block design and return an incidence matrix plus point-replication/pair-balance checks. Existing factorial-design alias calculations concern treatment-factor contrasts, not balanced incidence designs on unordered point pairs.
Specify parameters and fixed blocks
Enter the point count v, block size k and desired pair replication lambda. Required blocks, when supplied, use distinct zero-based point labels and must have exactly k points. Block order and point order within one block do not change a design. Duplicate required blocks should be rejected rather than counted as independent repeated measurements.
Fixed blocks are compulsory parts of the completion. They can make an otherwise feasible parameter set impossible by overusing a point pair or forcing incompatible remaining counts. The search must preserve them exactly. Supplying no fixed blocks asks for a construction from scratch, while supplying a complete valid design asks the calculator to verify an already finished incidence structure.
Check necessary arithmetic first
Count point-block incidences two ways to obtain bk=vr. Then fix a point and count its partners across incident blocks to obtain r(k−1)=lambda(v−1). These identities determine r and b from v,k and lambda when the parameters are feasible. Their values must be nonnegative integers within the supported scope.
Passing the arithmetic tests does not prove that a design exists. The identities express necessary balance conditions, not a universal construction theorem. Other combinatorial restrictions can rule out parameters or a supplied collection of fixed blocks. The calculator should therefore distinguish an immediate parameter obstruction from a completed search finding no compatible design and from an interrupted search that remains unresolved.
Complete all pair requirements
List the possible k-subsets as candidate blocks. A chosen block contributes one occurrence to each pair contained in it. Subtract the contributions of required blocks from the target pair counts, then search for additional distinct blocks that fill every remaining requirement exactly. Any branch exceeding a pair target can be discarded immediately.
A useful search chooses a still-uncovered pair and branches on candidate blocks containing it. Counts and block identities must be updated and restored during backtracking. A final construction must have the required number b of blocks and satisfy all pair counts. A cap on candidate blocks or visited states limits the calculation; it cannot justify an infeasibility verdict unless every relevant completion has been excluded.
Verify the seven-point example
The default parameters v=7,k=3 and lambda=1 give r=3 and b=7. One construction has blocks012,034,056,135,146,236 and245. Each block contributes three unordered pairs, so seven blocks contribute21pair occurrences, matching the21different pairs available among seven points.
That total alone is not sufficient; the pairs also need to be distinct. Directly listing the pairs in these blocks shows that every pair appears once. Each point occurs in exactly three blocks. The resulting incidence matrix has seven rows and seven columns, row sum three and column sum three, and its off-diagonal point-coincidence counts are all one. This is the Fano-plane block design.
Read incidence and replication checks
An incidence matrix places one in row i,column j when point i belongs to block j. Its row sums record point replications and its column sums record block sizes. Multiplying it by its transpose gives diagonal entries r and off-diagonal entries lambda for a valid design. This identity provides a compact certificate alongside the explicit block list.
The matrix must still be interpreted with the declared row and column conventions. Transposing it exchanges points and blocks, which need not produce a design with the same parameters in general. A pleasing symmetric drawing is not a substitute for the integer incidence checks. Conversely, a correct incidence design remains valid even if its chosen diagram has crossing lines or lacks visible geometric symmetry.
Keep existence and counting separate
The initial calculator returns one construction, or a proven infeasibility conclusion when its finite search is complete. It does not automatically count all nonisomorphic designs. Counting labeled block collections, counting them modulo point relabeling and classifying designs up to isomorphism are separate tasks with different equivalence conventions and potentially much larger searches.
The parameter and candidate limits make this a small constructive mathematics tool. Necessary arithmetic identities can help diagnose a rejected input, but they never license guessing a missing design. For an interrupted computation, retain the unresolved status. For a successful construction, export the block list and pair-coverage certificate so the combinatorial requirements can be checked independently of the particular search implementation.
A few questions, answered
Does integer b and r prove a design exists?
No. Those arithmetic identities are necessary; a construction or another existence proof is still required.
Can a block be repeated?
Not on this simple-design page. Repeated identical blocks are excluded by the stated convention.
Does this count all designs up to isomorphism?
No. The initial task is construction/completion and verification, not a classification of all equivalence classes.
What does an interrupted search establish?
It leaves existence or completion unresolved; it cannot turn an incomplete search into a proof of impossibility.