OFFSET
1,3
COMMENTS
In general, let w(i,j) be the weight of the unit square labeled by its northeast vertex (i,j) and for each (m,n), define
S(m,n) = Sum_{j=1..n} Sum_{i=1..m} w(i,j).
Then S(m,n) is the weight of the rectangle [0,m]x[0,n]. We call W the weight array of S and we call S the accumulation array of W. For the case at hand, S is the Wythoff difference array, A080164.
FORMULA
EXAMPLE
S(2,4) = 1+1+3+8+2+3+8+21 = 47.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Sep 11 2008
STATUS
approved