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.

A167833 Three-times-isolated primes: primes p such that neither p+-2, p+-4 nor p+-6 is prime.

This page as a plain text file.
%I A167833 #6 May 16 2019 15:37:37
%S A167833 2,211,293,409,479,631,691,701,709,719,787,797,839,919,929,1163,1171,
%T A167833 1201,1249,1259,1381,1399,1409,1471,1511,1523,1531,1637,1709,1733,
%U A167833 1801,1811,1823,1831,1847,1889,2039,2053,2099,2153,2161,2179,2221,2251,2459
%N A167833 Three-times-isolated primes: primes p such that neither p+-2, p+-4 nor p+-6 is prime.
%C A167833 2 together with prime numbers, isolated from neighboring primes by>6.
%H A167833 Harvey P. Dale, <a href="/A167833/b167833.txt">Table of n, a(n) for n = 1..2500</a>
%e A167833 a(1)=2 (-4,-2,0,4,6,8 are nonprimes); a(2)=211 (205,207,209,213,215,217 are nonprimes).
%t A167833 Join[{2},Select[Prime[Range[400]],NoneTrue[#+{2,4,6,-2,-4,-6},PrimeQ]&]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, May 16 2019 *)
%Y A167833 Cf. A137870, A167771.
%K A167833 nonn
%O A167833 1,1
%A A167833 _Juri-Stepan Gerasimov_, Nov 13 2009