A108187 Numbers n such that 11*n - 5 is prime.
2, 6, 8, 12, 14, 18, 26, 32, 42, 44, 48, 62, 68, 72, 74, 78, 84, 86, 96, 102, 114, 126, 132, 144, 146, 152, 158, 162, 176, 182, 188, 194, 204, 216, 218, 222, 224, 228, 236, 242, 252, 254, 258, 284, 288, 294, 296, 306, 314, 324, 326, 336, 344, 348, 354, 356, 366
Offset: 1
Keywords
Examples
If n=2, then 11*n - 5 = 17 (prime). If n=44, then 11*n - 5 = 479 (prime).
Links
- Robert Israel, Table of n, a(n) for n = 1..10000
Programs
-
Maple
a:=proc(n) if isprime(11*n-5)=true then n else fi end:seq(a(n),n=0..500); # Emeric Deutsch, Jun 22 2005
-
Mathematica
Select[Range@ 366, PrimeQ[11 # - 5] &] (* Michael De Vlieger, Feb 20 2017 *)
-
PARI
is(n)=isprime(11*n-5) \\ Charles R Greathouse IV, May 22 2017
Extensions
More terms from Emeric Deutsch, Jun 22 2005