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!)
A103803 Primes p such that both 2p - 15 and 2p + 15 are primes. 5

%I #18 Sep 08 2022 08:45:17

%S 11,13,19,23,29,37,41,43,47,61,71,83,89,107,113,127,139,149,191,197,

%T 223,281,293,331,379,419,421,461,463,491,499,503,523,569,593,601,653,

%U 719,733,769,797,811,821,839,881,887,1049,1063,1129,1163,1181,1213,1231

%N Primes p such that both 2p - 15 and 2p + 15 are primes.

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

%F p, 2p-15 and 2p+15 all are positive and are primes (hence we omit p=2).

%t Select[Range[11,2000], PrimeQ[ # ] && PrimeQ[2# + 15] && PrimeQ[2# - 15] &]

%t Select[Prime[Range[2,250]],And@@PrimeQ[2#+{15,-15}]&] (* _Harvey P. Dale_, May 21 2013 *)

%o (Magma) [p: p in PrimesUpTo(3200)| IsPrime(2*p+15) and IsPrime(2*p-15) ]; // _Vincenzo Librandi_, Jan 28 2011

%Y Cf. A103802.

%K nonn

%O 1,1

%A _Zak Seidov_, Feb 16 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)