Mary Beth R. answered 06/20/23
MS in Mathematics with Data Science credentials
Let r = the number of fields chosen. n = 50. If C(50,r) is the number of ways to choose r fields from 50, then you will need to SUM all of the C(50,r) for r = 1 to r = 50.
These C(n, r) numbers appear in "Pascal's triangle". n is the "row number" of the triangle and r is the position in the row.
If that is the case, then are you not interested in the 50th row? And if you are looking at "all values of r", then are you not interested in adding up all the numbers in the 50th row?
What is the sum of all numbers in the nth row of Pascal's triangle? _____
The sum of values in the nth row of Pascal's triangle is 2^n, by the way. [ ^ means exponent ]