OFFSET
1,2
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = n*(prime(n) - 3) + Sum_{k=1..n} prime(k). - Andrew Howroyd, Aug 28 2018
EXAMPLE
a(4) = 33 = sum of row 4 terms of triangle A131424: (6 + 7 + 9 + 11).
PROG
(PARI) a(n)={n*(prime(n) - 3) + sum(k=1, n, prime(k))} \\ Andrew Howroyd, Aug 28 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Jul 10 2007
EXTENSIONS
Terms a(10) and beyond from Andrew Howroyd, Aug 28 2018
STATUS
approved