A106068 Primes p such that 3p + 4 and 4p + 3 are primes.
5, 11, 19, 31, 41, 59, 89, 109, 151, 179, 181, 229, 241, 331, 349, 389, 439, 509, 521, 599, 661, 719, 769, 839, 881, 929, 1019, 1039, 1129, 1229, 1291, 1409, 1451, 1481, 1549, 1669, 1741, 1759, 1801, 1811, 2111, 2131, 2539, 2621, 2671, 2699, 2819, 2879
Offset: 1
Keywords
Links
- Marius A. Burtea, Table of n, a(n) for n = 1..534
Programs
-
Magma
[p: p in PrimesUpTo(5000)|IsPrime(3*p+4) and IsPrime(4*p+3)] // Vincenzo Librandi, Jan 30 2011
-
Mathematica
Select[Prime[Range[450]], PrimeQ[4#+3]&&PrimeQ[3#+4]&]
-
PARI
isok(p) = isprime(p) && isprime(3*p+4) && isprime(4*p+3); \\ Michel Marcus, Oct 12 2018
Extensions
Extended by Ray Chandler, Mar 14 2007
Comments