OFFSET
2,1
COMMENTS
For n > 4, a(2n+1) <= 2n and a(2n) <= n.
LINKS
Jinyuan Wang, Table of n, a(n) for n = 2..1000
EXAMPLE
(6!-3)/(6-3) = 717/3 = 239 is an integer. Thus a(6) = 3.
PROG
(PARI) a(n) = if(n==3, 4, for(k=3, oo, if((k!-n)%(k-n)==0, return(k)))); \\ Modified by Jinyuan Wang, Mar 13 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, May 21 2014
STATUS
approved