OFFSET
0,13
FORMULA
EXAMPLE
As square array, rows start: 1,0,0,0,0,0,...; 1,1,1,1,1,1,...; 1,1,2,2,3,3,...; 1,1,2,3,4,5,...; 1,1,2,3,5,6,...; 1,1,2,3,5,7,...; etc. As triangle, rows start: 1; 0,1; 0,1,1; 0,1,1,1; 0,1,2,1,1; 0,1,2,2,1,1; 0,1,3,3,2,1,1; etc. T(3,7)=6 since 7 can be written as 5+2, 5+1+1, 4+3, 4+2+1, 3+3+1, 3+2+2; or alternatively as 2+2+1+1+1, 3+1+1+1, 2+2+2+1, 3+2+1+1, 3+2+2, 3+3+1. t(10,3)=6 since 10 can be written as 6+3+1, 6+2+2, 5+4+1, 5+3+2, 4+4+2, 4+3+3.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Henry Bottomley, Apr 01 2002
STATUS
approved