Clearly the factors are $2310=2\times 3\times 5 \times 7 \times 11$
My approach was picking one number for $a$, this leaves 4 numbers for b and c. So b can take up 1 or 2 or 3 numbers out of those 4 numbers
So $$\binom 51 (\binom 41 +\binom 42 +\binom 43)$$ $$=5(2^4-2)$$
Similar, 2 numbers can be picked for $a$, leaving 3 for b and c
Continuing this way gives $$5(2^4-1) +10 (2^3-2) + 10 (2^2-2) $$which isn’t even close to 40, the answer.
What am I doing wrong?
I know this question already exists on MSE, but unfortunately it doesn’t solve my specific problem.
NOTE: I am using this problem as a reference for my answer The students $S_1, S_2,...S_{10}$ are divided into 3 groups A, B and C