OFFSET
1,10
COMMENTS
The first prime gap is 3-2=1, so the first column is T(n,1)=0. The second and third prime gaps are 5-3=2 and 7-5=2, and since all primes > 2 are odd, T(n,2) = T(n,3) = 1.
EXAMPLE
Triangle begins:
0;
0,1;
0,1,1;
0,1,1,3;
0,1,1,3,1;
MAPLE
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Juri-Stepan Gerasimov, Nov 28 2010
STATUS
approved