How do you find a $(21,5,1)$-difference set in $(\mathbb{Z}_{21}, +)$?
I already know the answer which is $\{0,1,6,8,18\}$.
But How do you get that?
Obviously, if you subtract each elements by each elements except itself, we get all the elements in $\mathbb{Z}_{21}$ (and of course.. except $0$). However, I have no idea yet of how one could get the elements in the difference set to start with.
I know this field - Combinatorial design theory is not as widely known as some other fields in math, but I'm hoping someone out there can still help.
This is an example of what is known as a Singer difference set. Letting $q$ be a prime power and let $m$ be a natural number, there is a general algebraic construction for difference sets with parameters $\left(\frac{q^m-1}{q-1},\frac{q^{m-1}-1}{q-1},\frac{q^{m-2}-1}{q-1}\right)$ in the cyclic group of order $\frac{q^m-1}{q-1}$; notice that this is exactly what you are asking for in the case $q=4$ and $m=3$.
So how does this construction work? Following Coulbourn and Dinitz's Handbook of Combinatorial Designs, let $\alpha$ be a generator for the multiplicative group of the finite field $\mathbb{F}_{q^m}$ and let $Tr: \mathbb{F}_{q^m} \rightarrow \mathbb{F}_q$ be the function defined by $Tr(x) = x+x^q+\cdots+x^{q^{m-1}}$. Then, setting $v = \frac{q^m-1}{q-1}$ for the sake of simplicity, the set $\{i \in \mathbb{Z}_v \,:\, Tr(\alpha^i) = 0\}$ is a $\left(\frac{q^m-1}{q-1},\frac{q^{m-1}-1}{q-1},\frac{q^{m-2}-1}{q-1}\right)$ difference set (proving this fact is a relatively straightforward exercise in undergraduate abstract algebra).
It is worth noting that the construction may not give you exactly the set you describe. For example, when I ran the general construction through sage I got the set $\{7,9,14,15,18\}$. However, the property of being a $(v,k,\lambda)$ difference set is invariant under both group automorphisms and right-regular action. Indeed, we obtain your set by subtracting each element of my set from 15.