I faced the following problem in a book: "Give an example of a non-cyclic group of order $pq$, with $p<q$ primes such that $p\mid q-1$."
This example is supposed to talk to a previous demonstration that if $p\nmid q-1$, then $G$ is isomorphic to $\mathbb{Z}_{pq}$(which is follows easily from Sylows theorem).
The point is that I found an example, but it was through some little work and the example is a bit ugly. Namley, let $n$ be an element of order $p$ modulo $q$ (which exists as $p\mid q-1$ say by just Cauchy, or just number theory in this case), then define the group as pairs $(u,r) \in {\mathbb{Z}}_{p}\times {\mathbb{Z}}_{p}$ where you define $$ (u,r) \dot (v,s) = (u+n^rv, r+s)$$ and it can be checked that this is a non-comutative(and thus non-cyclic) group of order $pq$.
So, I would like to know if there is a more easy example.
PS: My example was found trough taking an element $t$ with order q (this element generates the only Sylow q-subgroup of $G$), looking at the $q$ p-subgroups and playing with them.
PS2: I saw some other posts with characterization of all subgroups with order pq, but I am currently unable to understand it fully. I just wanted easy examples of such order pq groups.
PS3: I mean for a general example with arbitrary p,q