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!)
A079063 Least k such that sqrt(prime(n+k))-sqrt(prime(n))>1. 1
3, 3, 2, 3, 3, 3, 3, 2, 3, 3, 4, 4, 4, 3, 4, 4, 5, 4, 5, 4, 4, 4, 4, 5, 6, 5, 4, 4, 3, 3, 5, 5, 5, 5, 6, 5, 6, 5, 6, 7, 6, 5, 5, 4, 4, 4, 7, 7, 7, 6, 6, 6, 6, 8, 7, 7, 6, 5, 6, 6, 6, 5, 6, 6, 6, 6, 7, 7, 8, 7, 7, 7, 7, 7, 6, 7, 6, 7, 7, 8, 8, 9, 9, 8, 8, 7, 8, 8, 8, 7, 7, 8, 7, 6, 6, 6, 5, 6, 6, 8, 8, 9, 9, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Inspired by Andrica's conjecture. If it is true, a(n)>1 for all n.
LINKS
Eric Weisstein's World of Mathematics, Andrica's conjecture
FORMULA
Conjecture: there is a constant c>0 such that for n large enough, a(n)>c*sqrt(n) and we can take c=0.4. More precisely, there are 2 constants A and B such that A=lim sup n ->infinity a(n)/sqrt(n) exists = 0.75....; B=lim inf n ->infinity a(n)/sqrt(n) exists =0.46....
PROG
(PARI) a(n)=if(n<0, 0, k=1; while(abs(sqrt(prime(n+k))-sqrt(prime(n)))<1, k++); k)
CROSSREFS
Sequence in context: A164359 A178307 A327465 * A031352 A245885 A188834
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 02 2003
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 06:19 EDT 2024. Contains 370953 sequences. (Running on oeis4.)