in reply to Re: (Golf) Kaprekar's Process
in thread (Golf) Kaprekar's Process
62sub k { $_="000"|"@{[pop]}";/495/?0:1+k(-($_=join('',sort/./g)+reverse) }
--sean
In Section
Meditations
in reply to Re: (Golf) Kaprekar's Process
in thread (Golf) Kaprekar's Process
62sub k { $_="000"|"@{[pop]}";/495/?0:1+k(-($_=join('',sort/./g)+reverse) }