OFFSET
1,1
COMMENTS
Subsequence of A024902. All terms are congruent to 1 mod 6 because 7(6n + 5) + 4 is divisible by 3. - John Cerkan, Jul 08 2016
LINKS
John Cerkan, Table of n, a(n) for n = 1..10000
MAPLE
A023224:=n->`if`(isprime(n) and isprime(7*n+4), n, NULL): seq(A023224(n), n=1..5000); # Wesley Ivan Hurt, Jul 08 2016
MATHEMATICA
Select[Prime[Range[300]], PrimeQ[7# + 4] &] (* Alonso del Arte, Nov 21 2018 *)
PROG
(Magma) [n: n in [0..100000] | IsPrime(n) and IsPrime(7*n+4)] // Vincenzo Librandi, Nov 19 2010
(PARI) lista(nn) = for(p=2, nn, if(isprime(7*p+4), print1(p, ", "))); \\ Altug Alkan, Jul 08 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved