login
Numbers n such that 11*n + 31 is prime.
1

%I #16 Nov 12 2019 14:33:20

%S 0,2,6,12,18,20,26,32,38,56,60,66,72,80,86,90,96,98,102,116,122,128,

%T 132,138,140,146,156,168,170,180,188,192,206,210,222,228,240,242,252,

%U 266,270,272,276,278,290,300,312,318,326,336,342,350,356,362,366,368,380

%N Numbers n such that 11*n + 31 is prime.

%H Daniel Starodubtsev, <a href="/A108727/b108727.txt">Table of n, a(n) for n = 1..10000</a>

%e If n=0, then 11*n + 31 = 31 (prime).

%e If n=56, then 11*n + 31 = 647 (prime).

%p 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

%t Select[Range[0,400],PrimeQ[11#+31]&] (* _Harvey P. Dale_, Nov 02 2011 *)

%o (PARI) is(n)=isprime(11*n+31) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A108233.

%K nonn,easy

%O 1,2

%A _Parthasarathy Nambi_, Jun 21 2005

%E More terms from _Emeric Deutsch_, Jun 26 2005