OFFSET
1,5
COMMENTS
The row index starts from 1. The column index k runs from 0 to floor(n*(n+1)/6), which is a trivial upper bound for the maximal number of 2 X 2 X 2 triangles that can be selected from an n X n X n triangular grid.
Rotations and reflections of a selection are regarded as different. If they are not to be counted, see A289229.
LINKS
EXAMPLE
The triangle begins:
1;
1, 1;
1, 4, 0;
1, 9, 12, 4;
1, 16, 66, 82, 13, 0;
1, 25, 204, 670, 859, 420, 76, 0;
1, 36, 480, 3028, 9585, 15108, 10956, 2910, 231, 2;
CROSSREFS
KEYWORD
tabf,nonn
AUTHOR
Heinrich Ludwig, Jul 03 2017
STATUS
approved