|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|