Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
[Corion]: stevieb: Naah, I wouldn't delete versions from CPAN. Just up the version to 2.37 resp. 2.37.0 / 2.37.1 etc

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2017-01-19 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.