login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100750 Primes p such that p-100 or p+100 (or both) is prime. 7

%I #7 Mar 14 2015 17:12:42

%S 3,7,13,31,37,67,73,79,97,103,107,113,127,131,137,139,151,157,163,167,

%T 173,179,181,193,197,211,227,239,251,257,263,281,283,293,311,331,349,

%U 367,379,383,409,421,431,449,457,463,467,479,487,499,509,521,541,547

%N Primes p such that p-100 or p+100 (or both) is prime.

%H Harvey P. Dale, <a href="/A100750/b100750.txt">Table of n, a(n) for n = 1..1000</a>

%e Primes 3 and 103 differ by 100

%e Primes 193 and 293 differ by 100

%t Select[ Prime[ Range[101]], # > 100 && PrimeQ[ # - 100] || PrimeQ[ # + 100] &] (* _Robert G. Wilson v_, Jan 14 2005 *)

%K nonn

%O 1,1

%A _Parthasarathy Nambi_, Jan 12 2005

%E Corrected and extended by _Robert G. Wilson v_, Jan 14 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 12:33 EDT 2024. Contains 371969 sequences. (Running on oeis4.)