Question: How to split a number into smaller numbers so that their sum return the original number?

Hi all, I have problem but can't solve

How to split a number into smaller numbers so that their sum return the original number?

Example, n = 5 then
1+1+1+1+1
2+1+1+1
3+1+1
4+1
2+3

Thank you very much.

Please Wait...