Given a natural number N, find the combination of natural numbers that sums N and has the biggest product.
For example:
- 8 gives 3x3x2 = 18
- 10 gives 3x3x4 = 36
- 20 gives 3x3x3x3x3x3x2 = 4374
I "guess" that the answear is:
- divide the number by 3
- write that amount of 3s
- if the leftover is 1, the last 3 becomes a 4
- if the leftover is 2, add 2 at the end of the sequence
But I dont understand why 3 is the answear here, and I also cannot prove that my answear is correct. Can anyone explain that, please?