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 A162019 #8 Jun 23 2021 07:38:34 %S A162019 11,359,719,214559,215399,245639,253679,266999,507359,508559,574439, %T A162019 670919,744599,825479,1017119,1072199,1184399,1363679,1621079,1688279, %U A162019 1786439,2156039,2377799,2429279,2633399,2684999,2900039,3103799 %N A162019 Double-safe primes which are also double-Sophie Germain primes. %C A162019 The intersection of the primes in A066179 and those in A007700: they remain prime after each of two successive applications of the substitution p->(p-1)/2, and remain prime after each two successive applications of the substitution p->2p+1. %F A162019 a(n) = 4*A023302(n) + 3 = (A157359(n)-3)/4. - _R. J. Mathar_, Jun 26 2009 %e A162019 a(1)=11 is double safe: (11-1)/2=5; (5-1)/2=2, and double Sophie-Germain: 2*11+1=23; 2*23+1=47. %t A162019 lst={};Do[p=Prime[n];If[PrimeQ[safe=(p-1)/2],If[PrimeQ[(safe-1)/2],If[PrimeQ[sophie=2*p+1],If[PrimeQ[2*sophie+1],AppendTo[lst,p]]]]],{n,3*9!}];lst %Y A162019 Cf. A007700, A023302, A066179, A157359. %K A162019 nonn %O A162019 1,1 %A A162019 _Vladimir Joseph Stephan Orlovsky_, Jun 24 2009 %E A162019 Edited by _R. J. Mathar_, Jun 26 2009