|
|
A143998
|
|
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,1), (2,3), (3,2), (4,0); then R(m,n) is the number of marked squares in the rectangle [0,m]x[0,n].
|
|
6
|
|
|
0, 1, 1, 2, 3, 2, 3, 4, 4, 3, 3, 6, 6, 6, 3, 4, 7, 9, 9, 7, 4, 5, 9, 11, 12, 11, 9, 5, 6, 10, 13, 15, 15, 13, 10, 6, 6, 12, 15, 18, 18, 18, 15, 12, 6, 7, 13, 18, 21, 22, 22, 21, 18, 13, 7, 8, 15, 20, 24, 26, 27, 26, 24, 20, 15, 8, 9, 16, 22, 27, 30, 31, 31, 30, 27, 22, 16, 9, 9, 18, 24, 30
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
COMMENTS
|
Row 4n is given by 3n*(1,2,3,4,5,6,...).
|
|
LINKS
|
|
|
FORMULA
|
R(m,n) = floor(3*m*n/4).
|
|
MATHEMATICA
|
b[n_, m_] := Floor[3*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
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|