Consider a number 235, where last digit ...
1+1 = 2
----------------------------------------------------------
2+1 = 3
----------------------------------------------------------
3+1 = 4
----------------------------------------------------------
3+2 4+1 = 5
----------------------------------------------------------
3+3 4+2 5+1 = 6
----------------------------------------------------------
3+4 4+3 5+2 6+1 = 7
----------------------------------------------------------
3+5 4+4 5+3 6+2 7+1 = 8
----------------------------------------------------------
3+6 4+5 5+4 6+3 7+2 8+1 = 9
----------------------------------------------------------
23 Combinations.
If you Reverse these sequence get another 22.
|