. . . View This Fullsize
What method would you use to answer this question?
Are there any other methods can you think of?
Can you generalise your method?
Suppose x = f(n,s) where for this question, n = 12, and s = 3.
Can you find a general form for f(n,3)?
How about f(12,s)?
How about f(n,s)?