How do I efficiently and randomly shuffle 3 copies of each of n things into k piles so that no pile contains the same thing twice?
How do I efficiently and randomly shuffle 3 copies of each of n things into k piles so that no pile contains the same thing twice?