login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes p such that 60*p - 1 and 60*p + 1 are twin primes.
3

%I #11 Dec 29 2019 08:39:52

%S 3,7,11,17,59,67,71,113,137,157,181,199,269,283,293,379,571,613,617,

%T 641,809,829,857,881,907,1033,1093,1259,1427,1453,1459,1471,1733,1777,

%U 1847,1931,1933,2017,2083,2087,2239,2281,2383,2549,2593,2659,2677,2689,2731

%N Primes p such that 60*p - 1 and 60*p + 1 are twin primes.

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

%e 3 is a term since it is a prime and 60*3 - 1 = 179 and 60*3 + 1 = 181 are twin primes.

%e 7 is a term since it is a prime and 60*7 - 1 = 419 and 60*7 + 1 = 421 are twin primes.

%p a:=proc(n) if isprime(60*ithprime(n)-1) = true and isprime(60*ithprime(n)+1) = true then ithprime(n) else end if end proc: seq(a(n),n=1..400); # _Emeric Deutsch_, May 19 2008

%t a=60;Select[Prime[Range[10^3]],PrimeQ[a*#-1]&&PrimeQ[a*#+1]&]

%Y Cf. A001097, A001359, A006512.

%Y Cf. A138656, A138657, A138658.

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, May 15 2008

%E More terms from _Emeric Deutsch_, May 19 2008