A167773 Primes p with property that (p-previous prime) < 6 or (next prime-p) < 6.
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 59, 61, 67, 71, 73, 79, 83, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 163, 167, 179, 181, 191, 193, 197, 199, 223, 227, 229, 233, 239, 241, 269, 271, 277, 281, 283, 307, 311, 313, 317, 347
Offset: 1
Keywords
Programs
-
Mathematica
Join[{2},Select[Partition[Prime[Range[100]],3,1],#[[2]]-#[[1]]<6||#[[3]]-#[[2]]<6&][[;;,2]]] (* Harvey P. Dale, Oct 29 2023 *)
Extensions
Corrected (43 inserted) by R. J. Mathar, May 30 2010
Definition corrected to match data. - Harvey P. Dale_, Oct 29 2023