Choose the kth choice of choosing n things out of m
This is called unranking.  The combinatorial number system provides a clean solution to this particular problem.

See also https://computationalcombinatorics.wordpress.com/2012/09/10/ranking-and-unranking-of-combinations-and-permutations/ for further reading.