OFFSET
1,4
COMMENTS
Row sums: 0, 1, 4, 7, 8, 17, 26, 27, 43, 59, 56, 71, …, .
EXAMPLE
Triangle begins:
0,
0, 1,
2, 0, 2,
0, 3, 1, 3,
2, 3, 0, 2, 1,
2, 3, 5, 1, 5, 1,
MATHEMATICA
t[n_, k_] := Mod[Prime@ k^(Prime@ n - 2), n]; Table[ t[n, k], {n, 12}, {k, n}] // Flatten
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Juri-Stepan Gerasimov, Dec 16 2010
STATUS
approved