OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
15 is a term of the sequence because 15 is composite and 15+4+1, 15+9+1 and 15+10+1, are all composite (20,25 and 36, respectively).
MAPLE
R:= {4}:
for r from 5 to 1000 do
if not isprime(r) and not ormap(isprime, R +~ (r+1)) then
R:= R union {r}
fi
od:
sort(convert(R, list)); # Robert Israel, May 11 2025
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Randy L. Ekl, Jan 01 2008
STATUS
approved
