BEST METHOD
The problem can be solved by considering the cases m=5
let us try m=5
S={1,2,3,4,5}
n= number of 3 element subsets =5C3=10
∴n=10
The 10 subsets are {1,2,3}, {1,2,4}, {1,2,5},{1,3,4}, {1,3,5}, {1,4,5},{2,3,4}{2,3,5}, {2,4,5}, {3,4,5}
so f(1)=f(2)=f(3)=f(4)=f(5)=6
5∑i=1f(i)=6+6+6+6+6=30
Clearly 3m=3×5=15{is not matching ∑f(i)}
But 3n=3×10=30 {is matching ∑f(i)=30}
∴3n is the only correct answer.
Correct choice is (b)