OFFSET
1,1
COMMENTS
This sequence is prime n, where there exist two twin prime pairs of (n, n+2, n+30, n+32).
This sequence is a subsequence of A001359 (lesser of twin primes).
The subset of terms ending in 1 in this sequence is a subsequence of A132232 (primes, 11 mod 30).
The subset of terms ending in 7 in this sequence is a subsequence of A141860 (primes, 2 mod 15).
The subset of terms ending in 9 in this sequence is a subsequence of A132236 (primes, 29 mod 30).
LINKS
Karl V. Keller, Jr., Table of n, a(n) for n = 1..100000
Eric Weisstein's World of Mathematics, Prime Quadruplet.
Eric Weisstein's World of Mathematics, Twin Primes
Wikipedia, Twin prime
EXAMPLE
For n=11, the numbers 11, 13, 41, 43, are primes.
MATHEMATICA
a247089[n_] := Select[Prime@ Range@ n, And[PrimeQ[# + 2], PrimeQ[# + 30], PrimeQ[# + 32]] &]; a247089[1100] (* Michael De Vlieger, Jan 11 2015 *)
PROG
(Python)
from sympy import isprime
for n in range(1, 10000001, 2):
..if isprime(n) and isprime(n+2) and isprime(n+30) and isprime(n+32): print(n, end=', ')
CROSSREFS
KEYWORD
nonn
AUTHOR
Karl V. Keller, Jr., Jan 10 2015
STATUS
approved