login
A135232
Sum of the products of the first n prime pairs.
1
6, 41, 184, 507, 1174, 2321, 4084, 6575, 10174, 14931, 20698, 28085, 37882, 48903, 61220, 77857, 96900, 119399, 144990, 173881, 206280, 243143, 282346, 329399, 381382, 437069, 497560, 565151, 638050, 715887, 798806, 894283, 993504, 1105051
OFFSET
1,1
LINKS
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
Cf. A089581.
Sequence in context: A000611 A043069 A257602 * A371536 A291890 A217326
KEYWORD
nonn
AUTHOR
Cino Hilliard, Feb 14 2008
STATUS
approved