OFFSET
1,3
LINKS
P. Erdős and L. Moser, An extremal problem in graph theory, J. Austral. Math. Soc. 11 (1970), 42--47.
EXAMPLE
Triangle begins:
1,
1, 2,
2, 3, 4,
2, 5, 6, 7,
3, 6, 9, 10, 11,
3, 8, 11, 14, 15, 16,
4, 9, 14, 17, 20, 21, 22,
...
PROG
(PARI) T(n, k) = (k-1)*n - binomial(n, 2) + (n-k)\2 + 1;
matrix(7, 7, n, k, if (k>n, 0, T(k, n))) \\ to see the triangle
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Michel Marcus, Apr 11 2020
STATUS
approved