Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: [golf] Kaprekar Numbers

by thospel (Hermit)
on Jul 05, 2005 at 20:20 UTC ( #472592=note: print w/replies, xml ) Need Help??


in reply to [golf] Kaprekar Numbers

Here's a 34 for the rigorous version:
"@_"**2=~/(??{"@_"!=$`+$'&&a})/*$'
(you can make it warning free at the cost of one more character)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://472592]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-12-08 13:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (141 votes). Check out past polls.