OFFSET
1,1
COMMENTS
LINKS
Jens Kruse Andersen, Table of n, a(n) for n = 1..10000
MAPLE
A248368:=n->`if`(isprime(52*n+1) and isprime(n), n, NULL): seq(A248368(n), n=1..4000); # Wesley Ivan Hurt, Oct 05 2014
MATHEMATICA
s = {}; Do[If[PrimeQ[1 + 52*(p = Prime[n])], AppendTo[s, p]], {n, 500}]; s
Select[Prime[Range[500]], PrimeQ[52#+1]&] (* Harvey P. Dale, Aug 15 2017 *)
PROG
(PARI)
forprime(p=1, 10^4, if(isprime(52*p+1), print1(p, ", "))) \\ Derek Orr, Oct 05 2014
KEYWORD
nonn,easy
AUTHOR
Zak Seidov, Oct 05 2014
STATUS
approved