I don't quite understand. You said "add up" to 100. Then you wrote 100*1 (multiplication). Also, if you include negative numbers, there are infinite combinations 120 + (-20) for example...
Hi
Not sure if im in the correct tread.
Im trying to work out how to create all the collections of numbers that add up to 100.
For example
100*1
or
50+10+40
or
22+22+22+44
Does anyone know how many combinations there are and how to work it out how to make them?
Thanks for the reply
To clarify:
Im trying to work out how to create all the collections of positive whole numbers that add up to 100.
For example
1+1+1+1+1 continued to 100
or
50+10+40
or
22+22+22+44
Does anyone know how many combinations there are and how to work it out how to make them?
Hello, tallberg!
I will assume that the order of the terms is important.Create all the collections of numbers that add up to 100.
For example: .
Does anyone know how many combinations there are,
and how to work it out, and how to make them?
. . That is: . is considered different from
Otherwise, the problem is extremely complex, solved only in the 1930's.
Consider a marked 100-cm meterstick which we will cut on the marks.
. .
There are 99 marks on the meterstick.
. . For each mark, we have two choices: Cut or No-cut.
Hence, there are: . possible choices.
Therefore, there are possible collections of numbers.
You can write them out if you like . . . I'll wait in the car.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Let: .
We have a list of 99-digit numbers composed of 0's and 1's.
. .