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.

A152293 Primes of the form : (p-n)/(n+1)=prime and (n+1)*p+n=prime. n=3.

This page as a plain text file.
%I A152293 #4 Aug 24 2025 11:04:50
%S A152293 11,31,47,151,271,359,439,599,719,1031,1759,1871,2287,2711,2767,2879,
%T A152293 3719,3911,4079,5119,5527,5791,6199,6271,6991,7151,7607,7727,8447,
%U A152293 8647,8831,9151,9391,9511,9839,10159,10687,10847,11279,12479,12919,13487
%N A152293 Primes of the form : (p-n)/(n+1)=prime and (n+1)*p+n=prime. n=3.
%C A152293 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 A152293 lst={};n=3;Do[p=Prime[k];If[PrimeQ[(p-n)/(n+1)]&&PrimeQ[(n+1)*p+n],AppendTo[lst,p]],{k,7!}];lst
%t A152293 Select[Prime[Range[1600]],AllTrue[{(#-3)/4,4#+3},PrimeQ]&] (* _Harvey P. Dale_, Aug 24 2025 *)
%Y A152293 Cf. A059455, A152292
%K A152293 nonn,changed
%O A152293 1,1
%A A152293 _Vladimir Joseph Stephan Orlovsky_, Dec 02 2008