OFFSET
1,3
EXAMPLE
For n = 6
-----------------------------------------------------
Partitions of 6 Value
-----------------------------------------------------
6 .......................... 0 (all parts are equal)
5 + 1 ...................... 6
4 + 2 ...................... 6
4 + 1 + 1 .................. 6
3 + 3 ...................... 0 (all parts are equal)
3 + 2 + 1 .................. 6
3 + 1 + 1 + 1 .............. 6
2 + 2 + 2 .................. 0 (all parts are equal)
2 + 2 + 1 + 1 .............. 6
2 + 1 + 1 + 1 + 1 .......... 6
1 + 1 + 1 + 1 + 1 + 1 ...... 0 (all parts are equal)
-----------------------------------------------------
The sum of the values is 42
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Omar E. Pol, Jan 18 2013
STATUS
approved