How to shuffle more than 1 deck of cards

135 Views Asked by At

I know that after "ruffle shuffling" 1 deck (54 cards) 7 times, every configuration is nearly equally likely. How should I shuffle (for example) 3 decks (162 cards) assuming I can shuffle together only 1 deck (54 cards) at a time? I'd like an answer that can be easily adapted to other amounts of decks.