cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A121057 Triangle read by rows: T(n,m) = Prime[m]^n*(Prime[m] - 1)/2.

Original entry on oeis.org

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

Views

Author

Roger L. Bagula, May 27 2007

Keywords

Comments

Row sums are 1, 12, 310, 8400, 885775, 31374252, 3487878712, 161343848880, 20713255606813, 6100254882852900, ...
First column is A008837. - Michel Marcus, Apr 11 2013

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