login
A140511
a(n) = (prime(n)^2 + prime(n+1))/2.
3
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,1
LINKS
FORMULA
a(n) = (A001248(n) + A000040(n+1))/2. - Elmo R. Oliveira, Mar 24 2023
MATHEMATICA
(#[[1]]^2+#[[2]])/2&/@Partition[Prime[Range[2, 50]], 2, 1] (* Harvey P. Dale, Oct 15 2015 *)
PROG
(PARI) for(n=2, 50, print1(((prime(n))^2 + prime(n+1))/2, ", ")) \\ G. C. Greubel, Feb 23 2017
CROSSREFS
Sequence in context: A212866 A234717 A364352 * A286119 A286085 A121470
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Oct 15 2015
STATUS
approved