Integers equal to each other or differing by 1 will be called "almost equal " within the contents of this problem.
In how many ways can 2011 be expressed as a sum of almost equal addends?
The order of the addends in the expression is immaterial.
(In reply to Now I remember the D1 way.
You have solved it correctly, just edit your example : 2011= 402+402+402+402+403,
not the way you wrote.
Edited on April 1, 2011, 6:29 pm