Did not understand the solution for "A Factoria Problem"

I did not understand the solution for the factorial problem, Can u provide some good resources for this type of problems. Thank you

there is detailed solution video on this problem with the name “A Factorial Problem” in number theory section

this problem is belong to number theory

if you are doing it in mathematics section then you have some difficultly
i recommend to skip it from mathematics and cover it in number theory section

for more problem go to codeforces,codechef,spoj and use filter number theory

even then you have some doubts regarding this solution you can ask

if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like :heart:: and don’t forgot to mark doubt as resolved :grinning:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.