A253925 Primes p such that both (p^2 + 5)/6 and (p^4 + 5)/6 are prime.
127, 1009, 1709, 2087, 2393, 2969, 3221, 3347, 7309, 7757, 7883, 10529, 11411, 12923, 17569, 18269, 21799, 23311, 23633, 24877, 25703, 26839, 27091, 29429, 35461, 35603, 38431, 39367, 39761, 41887, 42967, 43037, 45361, 45989, 47699, 52163, 59093, 63629, 65323, 67103, 68041, 69481, 70937, 74843, 77813, 77867
Offset: 1
Keywords
Examples
a(1)=127=A118915(9)=A247478(9). a(2)=1009=A118915(45)=A247478(22).
Links
- Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Programs
-
PARI
forprime(p=5,1e6,if(isprime((p^2+5)/6) && isprime((p^4+5)/6), print1(p", "))) \\ Charles R Greathouse IV, Jan 19 2015
Comments