(MAGMAMagma) [ n: n in [0..1250] | IsPrime(n) and IsPrime(n^2+3*n+9)] // Vincenzo Librandi, Jan 30 2011
(MAGMAMagma) [ n: n in [0..1250] | IsPrime(n) and IsPrime(n^2+3*n+9)] // Vincenzo Librandi, Jan 30 2011
proposed
approved
editing
proposed
_Zak Seidov (zakseidov(AT)yahoo.com), _, Mar 21 2010
proposed
approved
(MAGMA) [ n: n in [0..1250] | IsPrime(n) and IsPrime(n^2+3*n+9)] [From Vincenzo Librandi, Jan 30 2011]
approved
proposed
Numbers n with property that n and n^2+3n+9 are primes.
2, 7, 11, 17, 23, 29, 31, 37, 43, 73, 101, 107, 127, 163, 179, 197, 239, 277, 281, 317, 331, 359, 367, 421, 457, 463, 487, 541, 569, 613, 617, 619, 661, 709, 739, 773, 787, 809, 823, 877, 941, 947, 953, 991, 1019, 1031, 1033, 1039, 1051, 1087, 1163, 1187
1,1
Or, primes in A175282.
Select[Prime[Range[400]], PrimeQ[ #^2+3*#+9]&]
nonn
Zak Seidov (zakseidov(AT)yahoo.com), Mar 21 2010
approved