login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309329 Median of primes with n decimal digits. 4
4, 47, 509, 5273, 53047, 532887, 5356259, 53765483, 539119753, 5402600081, 54118210435, 541947386821, 5425907665571, 54313871643797, 543611236251491, 5440228524355329, 54438462600610510, 544705097744731559, 5449909581264135103 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The number of n-digit primes < a(n) equals the number of n-digit primes > a(n). The median of an even number of values is understood to be defined as the arithmetic mean of the two central elements.

LINKS

Table of n, a(n) for n=1..19.

FORMULA

a(n) = (prime(A006880(n-1) + ceiling(A006879(n)/2)) + prime(A006880(n-1) + floor(A006879(n)/2) + 1)) / 2.

EXAMPLE

a(1) = 4 because {2, 3, 5, 7} are the 4 one-digit primes. The 2 central elements of the sorted list are 3 and 5. 4 = (3 + 5)/2.

a(2) = 47 because it is the central element of the sorted list of the A006879(2) = 21 two-digit primes. There are 10 such primes < 47 and 10 such primes > 47.

CROSSREFS

Cf. A006879, A006880, A309359

Sequence in context: A277654 A247767 A278267 * A326434 A319833 A006438

Adjacent sequences:  A309326 A309327 A309328 * A309330 A309331 A309332

KEYWORD

nonn,base,more

AUTHOR

Hugo Pfoertner, Jul 25 2019

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 January 21 09:39 EST 2022. Contains 350476 sequences. (Running on oeis4.)