OFFSET
1,2
COMMENTS
Row sums are: 1, 6, 4, 14, 14, 4, 0, 18, 26, 4,...
FORMULA
t(n,m)=Mod[(Prime[n] - 1)*(Prime[m] - 1), 8]
EXAMPLE
The triangle (prime(n)-1)*(prime(m)-1) starts
1;
2,4 ;
4,8,16 ;
6,12,24,36 ;
10,20,40,60,100 ;
12,24,48,72,120,144 ;
16,32,64,96,160,192,256 ;
and reduced mod 8, T(n,m) starts
1;
2, 4;
4, 0, 0;
6, 4, 0, 4;
2, 4, 0, 4, 4;
4, 0, 0, 0, 0, 0;
0, 0, 0, 0, 0, 0, 0;
2, 4, 0, 4, 4, 0, 0, 4;
6, 4, 0, 4, 4, 0, 0, 4, 4;
4, 0, 0, 0, 0, 0, 0, 0, 0, 0;
MATHEMATICA
t[n_, m_] = Mod[(Prime[n] - 1)*(Prime[m] - 1), 8];
Table[Table[t[n, m], {m, 1, n}], {n, 1, 10}];
Flatten[%]
CROSSREFS
KEYWORD
AUTHOR
Roger L. Bagula, Feb 21 2010
EXTENSIONS
Standardized nomenclature - the Assoc. Editors of the OEIS, Feb 24 2010
STATUS
approved