OFFSET
1,3
COMMENTS
Except when k is maximum for a given n, all elements must be odd multiples of 3. Specifically: T(n,k) == {9,15,21} mod 30 when n is odd and T(n,k) == {3,15,27} mod 30 when n is even. The only exception is T(3,1)=3.
EXAMPLE
Triangle starting with T(1,1):
0
1
3 5
3 13
9 15 21 29
3 33 45
21 39 45 69 99 105 111
15 27 57 75 93 117 153 177 183 243 253
9 45 81 129 165 231 249 261 285 315 345 375 399 441 459 465 471 501
...
T(5,4)=29 because 2^5=32; 32+29=61 and 32-29=3 are prime.
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Bob Selcoe, Feb 21 2016
STATUS
approved