Popular recipes tagged "kth" but not "big"http://code.activestate.com/recipes/tags/kth-big/2013-07-15T14:34:07-07:00ActiveState Code Recipeskth compsite number (Python)
2013-07-15T14:34:07-07:00Captain DeadBoneshttp://code.activestate.com/recipes/users/4184772/http://code.activestate.com/recipes/578607-kth-compsite-number/
<p style="color: grey">
Python
recipe 578607
by <a href="/recipes/users/4184772/">Captain DeadBones</a>
(<a href="/recipes/tags/kth/">kth</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p>Found this Interview question. Here is my solution to it.</p>
<p>Assume f(x,y,z) = a^x * b^y * c^z</p>
<p>The x, y and z are integers larger than or equal to zero. Find the kth number in the series this function produces.</p>
<p>Check out my blog <a href="http://thelivingpearl.com/">Captain DeadBones Chronicles</a></p>