login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024678 a(n) is the position of (prime(n+1) + prime(n+2))/2 in the ordered nonprimes. 1
2, 3, 5, 7, 9, 11, 13, 17, 20, 23, 27, 29, 31, 35, 40, 43, 46, 50, 52, 55, 59, 63, 69, 74, 76, 78, 80, 82, 90, 98, 102, 105, 110, 115, 118, 123, 127, 131, 136, 139, 144, 149, 151, 153, 159, 170, 177, 179, 181, 185, 188, 193, 200, 205, 210, 213, 216, 220, 222, 227, 238, 246, 248 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Ivan Neretin, Table of n, a(n) for n = 1..10000

MATHEMATICA

(# - PrimePi[#]) & /@ Table[(Prime[n + 1] + Prime[n + 2])/2, {n, 63}] (* Ivan Neretin, Apr 22 2018 *)

CROSSREFS

Sequence in context: A033946 A328232 A189710 * A265384 A039786 A102422

Adjacent sequences:  A024675 A024676 A024677 * A024679 A024680 A024681

KEYWORD

nonn

AUTHOR

Clark Kimberling

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 01:16 EDT 2020. Contains 334858 sequences. (Running on oeis4.)