OFFSET
1,3
EXAMPLE
Triangle begins:
0;
1, 2;
1, 2, 3;
0, 2, 3, 4;
1, 1, 3, 4, 4;
0, 2, 2, 3, 4, 5;
...
MATHEMATICA
T[n_, k_] := PrimePi[n+k] - PrimePi[n-k-1];
Table[T[n, k], {n, 1, 14}, {k, 0, n-1}] // Flatten (* Jean-François Alcover, Sep 18 2021 *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Reinhard Zumkeller, Nov 03 2003
STATUS
approved