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.

A131425 Row sums of triangle A131424.

Original entry on oeis.org

1, 5, 16, 33, 68, 101, 156, 205, 280, 389, 468, 605, 732, 841, 988, 1181, 1392, 1545, 1784, 1999, 2182, 2463, 2714, 3027, 3410, 3709, 3964, 4283, 4554, 4893, 5564, 5947, 6410, 6751, 7386, 7755, 8282, 8827, 9310, 9887, 10482, 10923, 11722, 12191, 12758, 13243
Offset: 1

Views

Author

Gary W. Adamson, Jul 10 2007

Keywords

Examples

			a(4) = 33 = sum of row 4 terms of triangle A131424: (6 + 7 + 9 + 11).
		

Crossrefs

Programs

  • Mathematica
    Table[n (Prime[n]-3)+Sum[Prime[k],{k,n}],{n,50}] (* Harvey P. Dale, Nov 28 2024 *)
  • PARI
    a(n)={n*(prime(n) - 3) + sum(k=1, n, prime(k))} \\ Andrew Howroyd, Aug 28 2018

Formula

a(n) = n*(prime(n) - 3) + Sum_{k=1..n} prime(k). - Andrew Howroyd, Aug 28 2018

Extensions

Terms a(10) and beyond from Andrew Howroyd, Aug 28 2018