login
A033597
(nextprime(n)+prevprime(n))/2.
1
4, 5, 6, 8, 9, 9, 9, 10, 12, 14, 15, 15, 15, 16, 18, 20, 21, 21, 21, 24, 26, 26, 26, 26, 26, 27, 30, 33, 34, 34, 34, 34, 34, 36, 39, 39, 39, 40, 42, 44, 45, 45, 45, 48, 50, 50, 50, 50, 50, 53, 56, 56, 56, 56, 56, 57, 60
OFFSET
4,1
FORMULA
2*a(n) = A151800(n) + A151799(n). - R. J. Mathar, Feb 06 2017
MATHEMATICA
Table[(NextPrime[n]+NextPrime[n, -1])/2, {n, 4, 60}] (* Harvey P. Dale, Aug 29 2022 *)
CROSSREFS
Sequence in context: A105737 A335186 A257816 * A336379 A088720 A134848
KEYWORD
nonn
AUTHOR
STATUS
approved