Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #9 Aug 14 2021 07:50:21
%S 8,14,38,68,98,104,194,224,278,308,458,614,824,854,878,1088,1298,1424,
%T 1448,1484,1664,1694,1784,1868,1874,1994,2084,2138,2378,2684,2708,
%U 2798,3164,3254,3458,3464,3848,4154,4514,4784,5228,5414,5438,5648,5654,5738
%N Numbers k such that the three numbers k-1, k+3 and k+5 are all prime.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PrimeTriplet.html">Prime Triplet</a>.
%F a(n) = A022005(n) + 1. - _R. J. Mathar_, Sep 24 2008
%o (Python)
%o from sympy import isprime
%o def ok(n): return n > 4 and isprime(n-1) and isprime(n+3) and isprime(n+5)
%o print(list(filter(ok, range(5739)))) # _Michael S. Branicky_, Aug 14 2021
%Y Cf. A022005, A086801, A144834.
%Y Cf. A098413, A144842.
%K easy,nonn
%O 1,1
%A _Giovanni Teofilatto_, Sep 23 2008
%E Definition edited and extended by _R. J. Mathar_, Sep 24 2008