OFFSET
2,2
LINKS
Hans Havermann, Table of n, a(n) for n = 2..2000
EXAMPLE
MAPLE
[seq(nextprime(i!)-prevprime(i!+1), i=2...100)];
MATHEMATICA
f[n_] := NextPrime[n!] - NextPrime[n!, -1]; Array[f, 70, 3] (* Robert G. Wilson v, Jul 23 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 20 2000
EXTENSIONS
Edited by Hans Havermann, Jul 23 2014
STATUS
approved