OFFSET
1,2
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
EXAMPLE
If n=0, then 11*n + 31 = 31 (prime).
If n=56, then 11*n + 31 = 647 (prime).
MAPLE
a:=proc(n) if isprime(11*n+31)=true then n else fi end: seq(a(n), n=0..450); # Emeric Deutsch, Jun 26 2005
MATHEMATICA
Select[Range[0, 400], PrimeQ[11#+31]&] (* Harvey P. Dale, Nov 02 2011 *)
PROG
(PARI) is(n)=isprime(11*n+31) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Jun 21 2005
EXTENSIONS
More terms from Emeric Deutsch, Jun 26 2005
STATUS
approved