A140511 a(n) = (prime(n)^2 + prime(n+1))/2.
7, 16, 30, 67, 93, 154, 192, 279, 436, 499, 705, 862, 948, 1131, 1434, 1771, 1894, 2280, 2557, 2704, 3162, 3489, 4009, 4755, 5152, 5358, 5779, 5997, 6448, 8130, 8649, 9454, 9735, 11176, 11479, 12406, 13368, 14031, 15054, 16111, 16476, 18337, 18723, 19504
Offset: 2
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 2..1000
Programs
-
Mathematica
(#[[1]]^2+#[[2]])/2&/@Partition[Prime[Range[2,50]],2,1] (* Harvey P. Dale, Oct 15 2015 *)
-
PARI
for(n=2,50, print1(((prime(n))^2 + prime(n+1))/2, ", ")) \\ G. C. Greubel, Feb 23 2017
Formula
Extensions
More terms from Harvey P. Dale, Oct 15 2015