Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-11-26 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (160 votes), past polls