Question Number 191710 by pete last updated on 29/Apr/23
$$\mathrm{What}\:\mathrm{is}\:\mathrm{the}\:\mathrm{remainder}\:\mathrm{f}\:\mathrm{149}!\:\mathrm{when}\:\mathrm{divided} \\ $$$$\mathrm{by}\:\mathrm{139}? \\ $$
Commented by Rasheed.Sindhi last updated on 29/Apr/23
$$\mathrm{149}!=\mathrm{1}.\mathrm{2}.\mathrm{3}…\mathrm{138}.\mathrm{139}.\mathrm{140}…\mathrm{148}.\mathrm{149} \\ $$$$\therefore\:\mathrm{149}!\mathrm{mod139}=\mathrm{0} \\ $$