login
A143996
Rectangular array by antidiagonals: label each unit square in the first quadrant lattice by its northeast vertex (x,y) and mark squares for which (x,y) is congruent mod 4 to one of the following: (1,4), (2,2), (3,3), (4,1); then R(m,n) is the number of marked squares in the rectangle [0,m]x[0,n].
6
0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 2, 2, 2, 1, 1, 2, 3, 3, 2, 1, 1, 3, 3, 4, 3, 3, 1, 2, 3, 4, 5, 5, 4, 3, 2, 2, 4, 5, 6, 6, 6, 5, 4, 2, 2, 4, 6, 7, 7, 7, 7, 6, 4, 2, 2, 5, 6, 8, 8, 9, 8, 8, 6, 5, 2, 3, 5, 7, 9, 10, 10, 10, 10, 9, 7, 5, 3, 3, 6, 8, 10, 11, 12, 12, 12, 11, 10, 8, 6, 3, 3, 6, 9, 11, 12, 13, 14
OFFSET
1,12
COMMENTS
Row 4n is given by n*(1,2,3,4,5,6,...).
FORMULA
R(m,n) = floor(m*n/4).
MATHEMATICA
b[n_, m_] := Floor[m*n/4]; a:= Table[a[n, m], {n, 1, 25}, {m, 1, 25}]; Table[a[[k, n - k + 1]], {n, 1, 20}, {k, 1, n}] // Flatten (* G. C. Greubel, Dec 05 2017 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Sep 07 2008
STATUS
approved