A089161 Numbers k such that 30*k + 17 and 30*k + 19 are twin primes.
0, 3, 4, 6, 7, 11, 20, 27, 28, 42, 47, 49, 53, 55, 56, 59, 62, 66, 67, 69, 74, 75, 88, 89, 105, 108, 115, 117, 118, 125, 130, 137, 138, 140, 144, 150, 151, 154, 159, 165, 180, 182, 188, 195, 206, 227, 231, 237, 243, 248, 249, 251, 258, 262, 269, 279, 284, 286, 287
Offset: 1
Examples
3 is a term since 30*3 + 17 = 107, 30 * 3 + 19 = 109, and (107, 109) are twin primes.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Maple
a:=proc(n) if isprime(30*n+17)=true and isprime(30*n+19)=true then n else fi end: seq(a(n),n=0..400); # Emeric Deutsch, Jun 13 2005
-
Mathematica
Select[Range[0, 300], And @@ PrimeQ[30# + {17, 19}] &] (* Amiram Eldar, Jan 27 2020 *)
Extensions
More terms from Emeric Deutsch, Jun 13 2005