I've looked everywhere for a solution, but the problem is I'm not a mathematician so have no frame of reference.
I'm trying to split a number up by ratio. For example, if you take the number 10:
- If the smallest partition is 3, the result is 3, 7
- If the smallest partition is 2, the result is 2, 3, 5
- If the smallest partition is 1, the result is 1, 2, 3, 4
Any help would be much appreciated.