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.

A167773 Primes p with property that (p-previous prime) < 6 or (next prime-p) < 6.

This page as a plain text file.
%I A167773 #14 Oct 29 2023 17:33:59
%S A167773 2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,59,61,67,71,73,79,83,97,101,
%T A167773 103,107,109,113,127,131,137,139,149,151,163,167,179,181,191,193,197,
%U A167773 199,223,227,229,233,239,241,269,271,277,281,283,307,311,313,317,347
%N A167773 Primes p with property that (p-previous prime) < 6 or (next prime-p) < 6.
%t A167773 Join[{2},Select[Partition[Prime[Range[100]],3,1],#[[2]]-#[[1]]<6||#[[3]]-#[[2]]<6&][[;;,2]]] (* _Harvey P. Dale_, Oct 29 2023 *)
%Y A167773 These are the primes not in A137869.
%Y A167773 Cf. A053070.
%K A167773 nonn
%O A167773 1,1
%A A167773 _Juri-Stepan Gerasimov_, Nov 11 2009
%E A167773 Corrected (43 inserted) by _R. J. Mathar_, May 30 2010
%E A167773 Definition corrected to match data. - _Harvey P. Dale__, Oct 29 2023