OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1)=1 (1*100+1=prime); a(2)=4 (4*100+1=prime).
MAPLE
a := proc (n) if isprime(100*n+1) then n else end if end proc: seq(a(n), n = 1 .. 250); # Emeric Deutsch, Nov 01 2009
MATHEMATICA
Select[If[PrimeQ[100*# + 1], #] & /@ Range[2*8!], IntegerQ] (* G. C. Greubel, May 15 2016 *)
PROG
(PARI) is(n)=isprime(n*100+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Oct 14 2009
EXTENSIONS
Extended by Emeric Deutsch, Nov 01 2009
STATUS
approved