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.
%I A152294 #4 May 02 2023 15:20:16 %S A152294 29,89,419,509,659,1259,1289,1319,1949,2099,2309,2339,2609,2939,3989, %T A152294 4049,6089,6599,7559,8609,9239,9539,10709,12659,12899,13469,13499, %U A152294 18119,20399,21089,21269,21419,22469,23369,26669,27539,28559,30059,30449 %N A152294 Primes of the form : (p-n)/(n+1)=prime and (n+1)*p+n=prime. n=4. %C A152294 This is the general form : (p-n)/(n+1)=primeand(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 A152294 lst={};n=4;Do[p=Prime[k];If[PrimeQ[(p-n)/(n+1)]&&PrimeQ[(n+1)*p+n],AppendTo[lst,p]],{k,7!}];lst %Y A152294 Cf. A059455, A152292, A152293. %K A152294 nonn %O A152294 1,1 %A A152294 _Vladimir Joseph Stephan Orlovsky_, Dec 02 2008