A108727 Numbers n such that 11*n + 31 is prime.
0, 2, 6, 12, 18, 20, 26, 32, 38, 56, 60, 66, 72, 80, 86, 90, 96, 98, 102, 116, 122, 128, 132, 138, 140, 146, 156, 168, 170, 180, 188, 192, 206, 210, 222, 228, 240, 242, 252, 266, 270, 272, 276, 278, 290, 300, 312, 318, 326, 336, 342, 350, 356, 362, 366, 368, 380
Offset: 1
Examples
If n=0, then 11*n + 31 = 31 (prime). If n=56, then 11*n + 31 = 647 (prime).
Links
- Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A108233.
Programs
-
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 *)
-
PARI
is(n)=isprime(11*n+31) \\ Charles R Greathouse IV, Jun 13 2017
Extensions
More terms from Emeric Deutsch, Jun 26 2005