OFFSET
1,7
COMMENTS
If a(n) > 0, a(n+1) = a(n) - 1.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A064778(n) - n.
EXAMPLE
7*8*9*10 divides 7! hence a(7) = 3.
PROG
(PARI) for(n=1, 150, s=0; while(sum(i=1, s, n!%(n+i))==0, s++); print1(s-1, ", "))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Benoit Cloitre, Jun 25 2002
STATUS
approved