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 contemplating the Monastery: (3)
As of 2016-07-29 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (264 votes). Check out past polls.