%I A152292
%S A152292 17,23,59,89,239,269,293,383,419,503,953,1013,1193,1259,1823,1979,2129,
%T A152292 2633,2789,3209,3389,4229,5099,5333,6089,6299,6803,7019,7673,7853,8123,
%U A152292 8513,8753,8819,9059,9203,10169,10223,10589,10853,10979,11159,12689
%N A152292 Primes of the form : (p-n)/(n+1)=prime and (n+1)*p+n=prime. n=2.
%C A152292 This is the general form : (p-n)/(n+1)=prime and (n+1)*p+n=prime; 'Safe'
primes and'Sophie Germain' primes just one part of this general form;
If n=1 then we got'Safe' primes and'Sophie Germain' primes.
%t A152292 lst={};n=2;Do[p=Prime[k];If[PrimeQ[(p-n)/(n+1)]&&PrimeQ[(n+1)*p+n],AppendTo[lst,
p]],{k,7!}];lst
%Y A152292 Cf. A059455
%Y A152292 Sequence in context: A126329 A130098 A046123 this_sequence A039319 A043142
A043922
%Y A152292 Adjacent sequences: A152289 A152290 A152291 this_sequence A152293 A152294
A152295
%K A152292 nonn
%O A152292 1,1
%A A152292 Vladimir Orlovsky (4vladimir(AT)gmail.com), Dec 02 2008
|