Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: [golf] Kaprekar Numbers

by thospel (Hermit)
on Jul 08, 2005 at 18:51 UTC ( #473535=note: print w/ replies, xml ) Need Help??


in reply to Re^2: [golf] Kaprekar Numbers
in thread [golf] Kaprekar Numbers

Like this it's 34:

(pos=$_="@_"**2)/=2;//g;$`+$'==pop


Comment on Re^3: [golf] Kaprekar Numbers
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-09-20 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls