Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: (Golf) Kaprekar's Process

by srawls (Friar)
on Jun 17, 2001 at 19:19 UTC ( [id://89168] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub a {
    ($_=join"",sort pop=~/./g)!=459?1+a(-$_+reverse):1
    #2345678901234567890123456789012345678901234567890
    }