I want to calculate permutation of numbd-ers for example 4 is 1 + 1 + 1 + 1 and
1 + 2 + 1 and 1 + 1 + 2 and 2 + 1 + 1 and 3 + 1 and 1 + 3 so 6 different permutations for 4.How to calculate it with recusion please give some clue or advice
Start with how you came up with that list. How can you systematically generate a list like that and know that it is complete? Do it manually first, and record what you do, step by step.