OFFSET
1,1
COMMENTS
This sequence is the intersection of A014688 with the set of primes. Conjecture: this sequence is infinite, yet derives from arbitrarily long "prime deserts" such as the 11 composites in A014688 between a(6) = 19 and a(18) = 79 and the 17 composites in A014688 between a(48) = 271 and a(66) = 383. - Jonathan Vos Post, Nov 22 2004
Primes not of the form n + pi(n-1). - Thomas Ordowski, Sep 21 2013
Except for the first pair (3, 5) no two consecutive primes are terms of the sequence. - Zak Seidov, Nov 10 2013
LINKS
T. D. Noe, Table of n, a(n) for n=1..1000
EXAMPLE
5th term is 79=61+18=prime(18)+18.
MATHEMATICA
Select[Range[500], PrimeQ[Prime[ # ] + # ] &] + Prime[Select[Range[500], PrimeQ[Prime[ # ] + # ] &]] (* Stefan Steinerberger, Jul 21 2006 *)
PROG
(PARI) { n=0; m=0; forprime (p=2, 109567, if (isprime(p + m++), write("b061068.txt", n++, " ", p + m)) ) } \\ Harry J. Smith, Jul 17 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, May 28 2001
EXTENSIONS
Edited by N. J. A. Sloane, Apr 29 2007
Definition clarified by Jonathan Sondow, Jul 12 2012
STATUS
approved