Most viewed recipes tagged "kaprekar"http://code.activestate.com/recipes/tags/kaprekar/views/2011-06-12T03:29:01-07:00ActiveState Code RecipesExperiment with Kaprekar's routine (Python) 2011-06-12T03:29:01-07:00Raymond Hettingerhttp://code.activestate.com/recipes/users/178123/http://code.activestate.com/recipes/577749-experiment-with-kaprekars-routine/ <p style="color: grey"> Python recipe 577749 by <a href="/recipes/users/178123/">Raymond Hettinger</a> (<a href="/recipes/tags/6174/">6174</a>, <a href="/recipes/tags/dot/">dot</a>, <a href="/recipes/tags/graph/">graph</a>, <a href="/recipes/tags/kaprekar/">kaprekar</a>). Revision 2. </p> <p>Explore the story behind the mysterious number 6174. Generate all possible chains leading to 6174, show their length and their patterns of convergence.</p>