Question Number 186331 by Red1ight last updated on 03/Feb/23 | ||
$$ \\ $$ How many possibilities are there for picking random numbers that ranges from 1-3 that sum up to 7?\\n | ||
Commented bymr W last updated on 03/Feb/23 | ||
8 possibilities: 3+3+1 3+2+2 3+2+1+1 3+1+1+1+1 2+2+2+1 2+2+1+1+1 2+1+1+1+1+1 1+1+1+1+1+1+1 | ||
Commented byRed1ight last updated on 03/Feb/23 | ||
$$\mathrm{is}\:\mathrm{there}\:\mathrm{a}\:\mathrm{general}\:\mathrm{formula}\:\mathrm{for}\:\mathrm{any}\:\mathrm{number}\:\mathrm{n}\:\mathrm{instead}\:\mathrm{of}\:\mathrm{7}? \\ $$ | ||
Commented bymr W last updated on 03/Feb/23 | ||
$${i}\:{think}\:{you}\:{should}\:{be}\:{able}\:{to}\:{find}\:{out}\: \\ $$ $${by}\:{yourself}. \\ $$ | ||
Commented bymr W last updated on 03/Feb/23 | ||
$${no}. \\ $$ | ||
Commented bymr W last updated on 03/Feb/23 | ||
https://en.m.wikipedia.org/wiki/Partition_(number_theory) | ||