OFFSET
1,2
COMMENTS
a(n) <= n. a(n) < n rarely, e.g. for n = 6, 15 etc. a(p) = p, p is a prime.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(6) = 4 as 7*8*9*10 is divisible by 6!= 720.
MATHEMATICA
dnf[n_]:=Module[{nf=n!, k=1}, While[!Divisible[Times@@Range[ n+1, n+k], nf], k++]; k]; Array[dnf, 80] (* Harvey P. Dale, Jun 19 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 07 2002
EXTENSIONS
More terms from Sascha Kurz, Feb 02 2003
Edited by Charles R Greathouse IV, Aug 02 2010
STATUS
approved