OFFSET
1,1
COMMENTS
Suggested by the Goldbach conjecture. The last term of this sequence is a(254)=9941.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..254 (full sequence)
FORMULA
p1+p2 = 10000 where p1 and p2 are prime numbers.
EXAMPLE
(59 + 9941) = (71 + 9929) = (113 + 9887) = (149 + 9851) = (167 + 9833) = (197 + 9803) = (233 + 9767) = (251 + 9749) = (257 + 9743) = (281 + 9719) = (311 + 9689) = ... = 10000.
MAPLE
a:=proc(n) if isprime(n) and isprime(10000-n) then n fi end: seq(a(n), n=1..10000); # Emeric Deutsch, Feb 16 2007
MATHEMATICA
Select[Prime[Range[PrimePi[10000]]], PrimeQ[10000-#]&] (* Harvey P. Dale, Mar 04 2013 *)
CROSSREFS
KEYWORD
easy,fini,full,nonn
AUTHOR
Tomas Xordan, Feb 14 2007
STATUS
approved