cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A126693 Prime numbers p such that 10000-p is also a prime.

This page as a plain text file.
%I A126693 #17 Apr 24 2023 09:39:31
%S A126693 59,71,113,149,167,197,233,251,257,281,311,449,461,467,479,503,509,
%T A126693 521,563,569,587,659,677,719,743,761,773,797,827,839,863,941,971,1031,
%U A126693 1049,1151,1163,1181,1193,1217,1259,1301,1307,1319,1373,1427,1487,1499,1553
%N A126693 Prime numbers p such that 10000-p is also a prime.
%C A126693 Suggested by the Goldbach conjecture. The last term of this sequence is a(254)=9941.
%H A126693 Nathaniel Johnston, <a href="/A126693/b126693.txt">Table of n, a(n) for n = 1..254</a> (full sequence)
%F A126693 p1+p2 = 10000 where p1 and p2 are prime numbers.
%e A126693 (59 + 9941) = (71 + 9929) = (113 + 9887) = (149 + 9851) = (167 + 9833) = (197 + 9803) = (233 + 9767) = (251 + 9749) = (257 + 9743) = (281 + 9719) = (311 + 9689) = ... = 10000.
%p A126693 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
%t A126693 Select[Prime[Range[PrimePi[10000]]],PrimeQ[10000-#]&] (* _Harvey P. Dale_, Mar 04 2013 *)
%K A126693 easy,fini,full,nonn
%O A126693 1,1
%A A126693 _Tomas Xordan_, Feb 14 2007