BSGS及扩展BSGS:https://blog.csdn.net/zzkksunboy/article/details/73162229 n!中素因子p的个数:https://www.cnblogs.com/zxhyxiao/p/8026280.html