Task 76

The Question

4. It is possible to write five as a sum in exactly six different ways:
4 + 1
3 + 2
3 + 1 + 1
2 + 2 + 1
2 + 1 + 1 + 1
1 + 1 + 1 + 1 + 1
How many different ways can n be written as a sum of at least two positive integers where n = 100?

The solution to the problem where n = 100 is 190569291

Enter custom value for `n`