View Single Post
Old 2018-01-28, 20:03   #13
a1call's Avatar
"Rashid Naimi"
Oct 2015
Remote to Here/There

2·1,087 Posts

Originally Posted by science_man_88 View Post
Depends on n if odd neither will n!-(n+1) as it will be even. If n is 2 mod 3 then n+1 is 0 mod 3 and the result of subtracting it if n is more than 3 will be 0 mod 3.
Can you please provide an example for n, m where m is a prime number such that
n!-n <= m < n! -1

Thanks in advance.

Last fiddled with by a1call on 2018-01-28 at 20:04
a1call is offline   Reply With Quote