Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

[golf] Kaprekar Numbers

by jynx (Priest)
on Jul 05, 2005 at 18:53 UTC ( #472564=obfuscated: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub kap_check {
      ...
    }
    
  2. or download this
    #23456789_123456789_123456789_123456789_123456789_123456789_
    $_=$_[0]*pop;$==.5*length;/(.{$=})(.*)/;$1+$2==$_**.5
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://472564]
Approved by ktross
Front-paged by grinder
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2014-12-29 01:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls