cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A089161 Numbers k such that 30*k + 17 and 30*k + 19 are twin primes.

Original entry on oeis.org

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

Views

Author

Pierre CAMI, Dec 06 2003

Keywords

Examples

			3 is a term since 30*3 + 17 = 107, 30 * 3 + 19 = 109, and (107, 109) are twin primes.
		

Crossrefs

Intersection of A158648 and A158806.
Cf. A001097 (twin primes).

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