A121057 Triangle read by rows: T(n,m) = Prime[m]^n*(Prime[m] - 1)/2.
1, 3, 9, 10, 50, 250, 21, 147, 1029, 7203, 55, 605, 6655, 73205, 805255, 78, 1014, 13182, 171366, 2227758, 28960854, 136, 2312, 39304, 668168, 11358856, 193100552, 3282709384, 171, 3249, 61731, 1172889, 22284891, 423412929, 8044845651
Offset: 1
Examples
Triangle begins 1; 3, 9; 10, 50, 250; 21, 147, 1029, 7203;
Programs
-
Mathematica
t[n_, m_] = Prime[m]^n*(Prime[m] - 1)/2; a = Table[Table[t[n, m], {n, 1, m}], {m, 1, 10}] Flatten[a]
-
PARI
trga(nrows) = {for (n=1, nrows, for (m=1, n, print1(prime(n)^m*(prime(n) - 1)/2, ", ");); print(););} \\ Michel Marcus, Apr 11 2013
Comments