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!)
A088176 Primes such that the previous two primes are a twin prime pair. 4

%I #26 Sep 08 2022 08:45:11

%S 7,11,17,23,37,47,67,79,107,113,149,157,191,197,211,233,251,277,293,

%T 317,353,431,439,467,541,577,607,631,647,673,821,827,839,863,887,1031,

%U 1039,1061,1069,1097,1163,1237,1283,1297,1307,1327,1433,1459,1487,1493,1613

%N Primes such that the previous two primes are a twin prime pair.

%C Primes p such that prevprime(p) - 2 is prime. - _Irina Gerasimova_, Jun 28 2013

%H Amiram Eldar, <a href="/A088176/b088176.txt">Table of n, a(n) for n = 1..10000</a>

%p A088176 := proc(n)

%p nextprime(A006512(n)) ;

%p end proc:

%p seq(A088176(n),n=1..30) ; # _R. J. Mathar_, Nov 26 2014

%o (PARI) is(n)=isprime(n) && isprime(precprime(n-1)-2) \\ _Charles R Greathouse IV_, Jun 28 2013

%o (Magma) [NthPrime(n): n in [2..260] | IsPrime((NthPrime(n-1)-2))]; // _Vincenzo Librandi_, Nov 18 2014

%Y Cf. A088175.

%K easy,nonn

%O 1,1

%A _Zak Seidov_, Sep 22 2003

%E More terms from _Ray Chandler_, Sep 25 2003

%E Definition clarified by _Irina Gerasimova_, Jun 28 2013

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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)