GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Let $G$ be a finite group and $N\subseteq G$. The set $R\subseteq G$1with $|R|=k$ is called a ``relative difference set of order2$k-\lambda$ relative to the forbidden set $N$'' if the following3properties hold:45\beginlist%ordered{(a)}6\item{(a)} The multiset $\{ a.b^{-1}\colon a,b\in R\}$ contains7every nontrivial ($\neq 1$) element of $G-N$ exactly $\lambda$8times.9\item{(b)} $\{ a.b^{-1}\colon a,b\in R\}$ does not contain10any non-trivial element of $N$.11\endlist1213Let $D\subseteq G$ be a difference set, then the incidence structure14with points $G$ and blocks $\{Dg\;|\;g\in G\}$ is called the15*development* of $D$. In short: ${\rm dev} D$. Obviously, $G$ acts on16${\rm dev}D$ by multiplication from the right.1718Relative difference sets with $N=1$ are called (ordinary) difference19sets. The development of a difference set with $N=1$ and $\lambda=1$20is projective plane of order $k-1$.2122In group ring notation a relative difference set satisfies23$$24RR^{-1}=k+\lambda(G-N).25$$2627The set $D\subseteq G$ is called *partial relative difference set*28with forbidden set $N$, if29$$30DD^{-1}=\kappa+\sum_{g\in G-N}v_gg31$$3233holds for some $1\leq\kappa\leq k$ and $0\leq v_g \leq \lambda$ for34all $g\in G-N$. If $D$ is a relative difference set then ,obviously,35$D$ is also a partial relative difference set.363738*IMPORTANT NOTE*3940\package{RDS} implicitly assumes that the *every* partial difference41set contains the identity element (see the notion of equivalence in42"RDS:Introduction" for the mathematical reason). However, the identity43*must not* be contained in the lists representing partial relative44difference sets.4546So in \package{RDS}, the difference set `[ (), (1,2,3,4,5,6,7),47(1,4,7,3,6,2,5) ]' is represented by the list `[ (1,2,3,4,5,6,7),48(1,4,7,3,6,2,5) ]'. And no set of three non-trivial permutations will49be accepted as an ordinary difference set of `Group((1,2,3,4,5,6,7))'.5051For this reason the lists returned by functions like "AllDiffsets" do52only contain non-trivial elements and look too short.53545556%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%57%%58%E ENDE59%%606162