Take the integers mod 6 under addition, , and the subgroup . Now shift by every element of the group and see what you get.
, , .
Shifting by 0 or 3 gives back . Shifting by 1 or 4 gives . Shifting by 2 or 5 gives . Three tiles, two elements each, six elements in all. That is already the whole theorem in miniature.
Two facts make it work
Lemma 1.
Two cosets are either identical or disjoint.
Lemma 2.
Every coset has exactly elements, because is a bijection from to .
The first lemma says the tiles never overlap. The second says they are all the same size. Since every element lies in its own coset , the tiles cover all of .
Theorem (Lagrange)
Here is the number of cosets. In particular, divides .
Checking it with code
A computer can find the tiles. This collects every shifted copy of and keeps only the distinct ones.
// cosets.ts
const G = [0, 1, 2, 3, 4, 5];
const H = [0, 3];
const cosets = new Map<string, number[]>();
for (const g of G) {
const c = H.map((h) => (g + h) % 6).sort((a, b) => a - b);
cosets.set(c.join(","), c);
}
console.log([...cosets.values()]); // [[0,3],[1,4],[2,5]]What it rules out
A group of order 6 can only have subgroups of order 1, 2, 3 or 6. There is no subgroup of order 4, and you know that without checking a single element.
Careful: the converse is false. has order 12 but no subgroup of order 6.

