@
@
@YAnri2018-11-09 14:16:14
Combinatorics
@YAnri, 2018-11-09 14:16:14

How to find the number of combinations?

For example, there is a number n (let it be 7) and a number a (4), we need to find the number of combinations when adding a (4) numbers we get the number n (7).
Well, it can still be solved by enumeration, and if we have large numbers such as n (2500) and a (500).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2018-11-09
_

Infinite amount.
1+1+1+4 = 7
1+1+2+3 = 7
1+1+3+2 = 7
1+1+4+1 = 7
1+1+5+0 = 7
1+1+6 +(-1) = 7
...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question