Let p and q be two positive integers with r being their greatest common factor. Consider the set E such that
$E = \{0,\:\:r, \:\:2r,\:\:3r,\:\: ...,\:\: (q-r)\}$
Let an be a sequence defined for integers n within the interval [0, q-1] such that
$a_n = (np) \bmod q$
For every integer, k, within set, E, there is a corresponding n(k) such that
$a_{n(k)} = k$
I am able to prove this theorem from scratch, but I would like to know if there are any existing theorems within Discrete Mathematics (or another branch of math) that is able to help prove this theorem quicker. Do such theorems exists? And if so, I would also like to ask if there is a resource that presents a large number of them.