OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
113 is in the sequence because prime(30) < 2^((prime(30+1)-prime(30))/2) or 113 < 2^((127-113)/2).
MATHEMATICA
Select[Prime[Range[2000]], # < 2^((NextPrime[#] - #)/2) &] (* T. D. Noe, Mar 07 2012 *)
PROG
(PARI) v=List(); p=2; forprime(q=3, 1e4, if(p<2^((q-p)/2), listput(v, p)); p=q); Vec(v) \\ Charles R Greathouse IV, Aug 03 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Gerasimov Sergey, Mar 05 2012
STATUS
approved