Created
February 17, 2014 10:59
-
-
Save ndzj081221130/9048603 to your computer and use it in GitHub Desktop.
N!中0的个数
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| 其实就是求质数分解中,5的指数k | |
| N! = 2^i * 3^j * 5^k * ... | |
| 变体:N!中二进制表示中最低位1的位置 | |
| 其实就是求质数分解中,2的指数+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment