A difference systems of
sets (DSS) with parameters (n, τ0, ..., τq-1,ρ)
is a collection of q disjoint subsetsQi of {1, 2,
..., n}, | Qi| =τi, 0 ≤ i ≤ q-1, such that the
multi-set
M={ a-b(mod n) |a ∈ Qi , b ∈ Qj, i≠j}
contains every number i, 1 ≤ i ≤ n-1 at least ρ times. A DSS is perfect if every numberi is contained exaclty ρ times in the multi-set of differences. A DSS is regularif all subsets Qiare of the same size: τ0 = τ1 = ... = τq-1.