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 (p-11)/10 is also a prime.
3

%I #18 Mar 26 2024 08:08:23

%S 31,41,61,181,241,421,541,601,1021,1321,1381,1741,1801,2281,2341,2521,

%T 3121,3181,3541,4021,4201,4441,4621,4801,5101,5581,5641,5701,5881,

%U 6421,6481,6781,6841,7621,7741,8101,8221,8581,8641,8821,9421,9721,9781,10141,10321

%N Primes p such that (p-11)/10 is also a prime.

%H Daniel Starodubtsev, <a href="/A089442/b089442.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = prime(A143365(n)). - _R. J. Mathar_, Mar 26 2024

%F a(n) = 10*A155978(n)+11. - _R. J. Mathar_, Mar 26 2024

%o (PARI) diff2p(n,a,b) = { forprime(x=3,n, y=(x-a)/b; if(y==floor(y), if(isprime(y), print1(x,",")) ) ) };

%o diff2p(10500,11,10) \\ corrected by _Hugo Pfoertner_, Jan 20 2020

%o (Magma) [p:p in PrimesUpTo(10500)| IsIntegral((p-11)/10) and IsPrime((p-11) div 10)]; // _Marius A. Burtea_, Jan 20 2020

%Y Cf. A143365, A155978.

%K easy,nonn

%O 1,1

%A _Cino Hilliard_, Dec 28 2003

%E All terms corrected by _Juri-Stepan Gerasimov_, Jul 01 2010

%E Corrections confirmed by _N. J. A. Sloane_, Jul 04 2010