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”).

A253925
Primes p such that both (p^2 + 5)/6 and (p^4 + 5)/6 are prime.
4
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,1
COMMENTS
Intersection of A118915 and A247478.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=127=A118915(9)=A247478(9). a(2)=1009=A118915(45)=A247478(22).
PROG
(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
CROSSREFS
Sequence in context: A299818 A236304 A075942 * A196658 A077361 A225148
KEYWORD
nonn
AUTHOR
Zak Seidov, Jan 19 2015
STATUS
approved