OFFSET
2,1
EXAMPLE
There are 13 consecutive composite numbers between primes 113 < 5! and 127 > 5!+5. 13 is the second entry in the sequence.
PROG
(PARI) factgaps2(m) = { for(n=2, m, c=0; f=0; nf=n!; for(x=precprime(nf), nextprime(nf+n), if(isprime(nf+1), f=1; break); if(!isprime(x), c++) ); if(f==0, print1(c", ")) ) }
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Nov 06 2003
EXTENSIONS
Edited by Ray Chandler, Nov 10 2003
STATUS
approved