Definition (double coset)
Let $G$ be a group and $H,K\leq G$ be subgroups.
A double coset of $H$ and $K$ is a set of the form $HwK = \sb{hwk}{h\in H, k\in K}$.
$H\backslash G/K = \sb{HwK}{w\in G}$ denotes the set of all double cosets of $H$ and $K$.
The double cosets partition $G$.
A double coset is an orbit in any of the following action:
$H \actson G/K$ by $h*gK = hgK$;
$K \actson H\backslash G$ by $k*Hg = Hgk\inv$;
$H \times K\actson G$ by $(h,k)*g = hgk\inv$.
$G\actson G/H \times G/K$ by $g*(g_1 H, g_2 K) = (g g_1 H, g g_2 K)$.
Orbit-stabiliser implies $$ \begin{align*} \#HwK = \frac{\# H \,\# K}{\#(H \cap wKw\inv)} = \frac{\#H \, \#K}{\#(K \cap w\inv H w)}. \end{align*} $$