Given a number n, In how many ways , n can be formed by adding 4 and 6 only with atmost m times use of 6 and 4.
For example :
12 in two ways with atmost three times (4 or 6)
{4,4,4}
{6,6}
Second example:
10 in only one way
{4,6}
Asked
Active
Viewed 19 times
0
-
Rather easy if $n$ is odd or equal to $2$ or greater than $6m$ – Henry Feb 15 '15 at 17:01
-
It's worth mentioning whether or not the order matters (especially since the example isn't obvious about it). – barak manos Feb 15 '15 at 17:14
-
order doesn't matter – Frustrated Feb 15 '15 at 17:15