Popular Python recipes tagged "n"http://code.activestate.com/recipes/langs/python/tags/n/2013-08-10T03:40:02-07:00ActiveState Code Recipesde Polignac's Formula (Python)
2013-08-10T03:40:02-07:00Samuel James Ericksonhttp://code.activestate.com/recipes/users/4187478/http://code.activestate.com/recipes/578632-de-polignacs-formula/
<p style="color: grey">
Python
recipe 578632
by <a href="/recipes/users/4187478/">Samuel James Erickson</a>
(<a href="/recipes/tags/factorial/">factorial</a>, <a href="/recipes/tags/n/">n</a>, <a href="/recipes/tags/prime/">prime</a>, <a href="/recipes/tags/primes/">primes</a>).
Revision 4.
</p>
<p>Obtains the total number of factors of p in n! for any prime p.</p>