A075674 Sum of next n odd interprimes.
9, 36, 153, 378, 805, 1576, 2733, 3818, 5857, 8006, 10537, 14812, 19389, 23472, 29757, 36416, 44067, 52274, 61307, 71740, 86195, 104056, 120463, 138128, 158209, 181160, 205973, 229728, 255013, 281608
Offset: 1
Keywords
Examples
a(1) = (7+11)/2 = 9; a(2) = (13+17)/2+(19+23)/2 = 15 + 21 = 36.
Programs
-
Mathematica
(* sum of next n odd interprimes*) od=Select[Table[(Prime[i]+Prime[i+1])/2, {i, 2, 2000}], OddQ]; i1 := n(n-1)/2+1; i2 := n(n-1)/2+n; A075674=Table[Sum[od[[i]], {i, i1, i2}], {n, 30}]
Comments