OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Module[{nn=1000, cmps}, cmps=Partition[Select[Range[nn], CompositeQ], 4, 1]; Table[SelectFirst[ cmps, #[[1]]>p&], {p, Prime[Range[PrimePi[cmps[[-1, 1]]]]]}]][[;; , 4]] (* Harvey P. Dale, Aug 07 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Mar 06 2010
EXTENSIONS
More terms from Harvey P. Dale, Aug 07 2023
STATUS
approved