OFFSET
1,1
COMMENTS
Conjecture: a(n) < log(A014574(n))^3 for n > 2. - Thomas Ordowski, Jul 21 2012
This is of course also the distance between the larger members of successive twin primes. - Franklin T. Adams-Watters, Jun 03 2014
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..107406
MATHEMATICA
Differences[Transpose[Select[Partition[Prime[Range[450]], 2, 1], Last[#]-First[#]==2&]][[1]]] (* Harvey P. Dale, Feb 08 2011 *)
PROG
(PARI) {cnt=0; lp= /*last*/ ltp=/*last twin(upper)*/ 5;
forprime(p=lp+1, default(primelimit), if(p-lp != 2, lp=p; next);
write("b053319.txt", cnt++" "p-ltp); /* print1(p-ltp", "); */ ltp=lp=p)} \\ M. F. Hasler, May 26 2007
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Mar 06 2000
EXTENSIONS
Definition clarified by Harvey P. Dale, Feb 08 2011
STATUS
approved