Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Think about Loose Coupling
 
PerlMonks  

Re: Re: Re: Re: (Golf) Kaprekar's Process

by Anonymous Monk
on Jun 17, 2001 at 02:49 UTC ( #89111=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub k {
      $_=0 x3|"@_";/495/?0:1+k(-($_=join'',sort/./g)+reverse)
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://89111]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2014-04-21 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls