OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = Sum_{i=1..n} A089581(i). - R. J. Mathar, Feb 19 2008
EXAMPLE
The sum of the products of the first 3 prime pairs is 2*3+5*7+11*13 = 184, the 3rd entry in the sequence.
MATHEMATICA
Table[Sum[Prime[2*k - 1]*Prime[2*k], {k, 1, n}], {n, 1, 50}] (* G. C. Greubel, Oct 04 2016 *)
PROG
(PARI) g(n)=s=0; forstep(x=1, n*2, 2, s+=prime(x)*prime(x+1); print1(s, ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Feb 14 2008
STATUS
approved