OFFSET
1,2
COMMENTS
The final member of the sequence is a(115) = 2308.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..115 (full sequence)
EXAMPLE
a(1) = 2*3*5*7*11 - 2309 = 1; a(2) = 2*3*5*7*11 - 2141 = 169.
MAPLE
a:=proc(n) if(isprime(n) and not isprime(2310-n))then 2310-n fi end: seq(a(2310-n), n=1..2309); # Nathaniel Johnston, Jun 08 2011
MATHEMATICA
Sort[2310-#&/@Select[Prime[Range[343]], !PrimeQ[2310-#]&]] (* Harvey P. Dale, Jul 26 2011 *)
CROSSREFS
KEYWORD
nonn,fini,full,easy,less
AUTHOR
Juri-Stepan Gerasimov, Aug 05 2008
EXTENSIONS
Comment and more terms from Charles R Greathouse IV, Mar 26 2010
STATUS
approved