"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.
5.9m questions
7.7m answers