OFFSET
1,2
EXAMPLE
The triangle begins as:
1;
4, 2;
0, 3, 0;
4, 0, 4, 3;
0, 1, 5, 4, 0;
...
MATHEMATICA
Table[Mod[#[[n+1]], #[[;; n]]+1], {n, Length[#]-1}] & [Select[Range[50], PrimeOmega[#] == 2 &]] (* Paolo Xausa, Jun 28 2024 *)
PROG
(PARI) trg(nn) = {semip = select(n->bigomega(n) == 2, vector(nn, i, i)); for (n = 1, #semip-1, for (k = 1, n, print1(semip[n+1] % (semip[k] + 1), ", "); ); ); } \\ Michel Marcus, Sep 11 2013
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Juri-Stepan Gerasimov, Dec 06 2010
STATUS
approved