OFFSET
1,1
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..10000, Oct 27 2018
FORMULA
a(n) = nextprime(A054805(n)) = prevprime(A054807(n)), nextprime = A151800, prevprime = A151799. - M. F. Hasler, Oct 27 2018
MATHEMATICA
Select[Partition[Prime[Range[400]], 4, 1], Max[Differences[#, 2]]<0&][[All, 3]] (* Harvey P. Dale, Aug 28 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Apr 10 2000
EXTENSIONS
Offset corrected to 1 by M. F. Hasler, Oct 27 2018
Definition clarified by N. J. A. Sloane, Aug 28 2021
STATUS
approved