A131425 Row sums of triangle A131424.
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
Keywords
Examples
a(4) = 33 = sum of row 4 terms of triangle A131424: (6 + 7 + 9 + 11).
Links
- Andrew Howroyd, Table of n, a(n) for n = 1..1000
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