Cookies cost $8 and pies cost $6 each.How many different combinations of cookies and pies can you buy for between $48 and $72 inclusive?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Mathematica
Length@Flatten[Table[IntegerPartitions[i,100,{8,6}],{i,48,72}],1]
returns 37