"different groups" usually means a combination.
I'd also like to point out, most scientific calculator has an [ ₙCᵣ ] button for Combinations as well as [ ₙPᵣ ] for Permutations.
6.0m questions
7.9m answers