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.

A137440 Triangle T(n,m) read by rows: T(m,n) = (1+n*3^m)-th prime.

Original entry on oeis.org

2, 3, 7, 5, 17, 67, 7, 29, 107, 421, 11, 41, 157, 599, 2153, 13, 53, 199, 769, 2791, 9857, 17, 67, 257, 967, 3469, 12203, 41851, 19, 79, 311, 1151, 4129, 14537, 49697, 167623, 23, 97, 367, 1327, 4817, 16871, 57571, 193957, 645581, 29, 107, 421, 1549, 5521
Offset: 1

Views

Author

Roger L. Bagula, Apr 17 2008

Keywords

Comments

Row sums are: {2, 10, 89, 564, 2961, 13682, 58831, 237546, 920611, 3459888, 12685349, ...}
The first 3 columns are essentially A000040, A031377 and A031918. - R. J. Mathar, May 05 2008

Examples

			{2},
{3, 7},
{5, 17, 67},
{7, 29, 107, 421},
{11, 41, 157, 599, 2153},
{13, 53, 199, 769, 2791, 9857},
{17, 67, 257, 967, 3469, 12203, 41851},
{19, 79, 311, 1151, 4129, 14537, 49697, 167623},
{23, 97, 367, 1327, 4817, 16871, 57571, 193957, 645581},
{29, 107, 421, 1549, 5521, 19301, 65699, 220873, 33591, 2412797},
{31, 127, 467, 1741, 6229, 21649, 73867, 247943, 822587, 2702809, 8807899}
		

Programs

  • Mathematica
    T[n_, m_] := Prime[1 + n*3^m]; Table[Table[T[n, m], {m, 0, n}], {n, 0, 10}]; Flatten[%] Table[Apply[Plus, Table[T[n, m], {m, 0, n}]], {n, 0, 10}];

Extensions

Edited by N. J. A. Sloane, May 16 2008