OFFSET
3,1
COMMENTS
For n >= 3, median of the primes with n binary digits. The median of an even number of values is assumed to be defined as the arithmetic mean of the two central elements in their sorted list. The special case of the primes with two binary digits {2, 3} is excluded, because their median would be 5/2.
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 3..63
EXAMPLE
a(3) = 6: 2^2 < {5, 7} < 2^3, (5 + 7)/2 = 6.
a(4) = 12: 2^3 < {11, 13} < 2^4, (11 + 13)/2 = 12
a(5) = 23: 2^4 < {17, 19, 23, 29, 31} < 2^5, median = 23.
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jul 25 2019
STATUS
approved