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?
[Discipulus]: good morning, if raining here
[choroba]: Good morning!
[Discipulus]: so few questions these days..

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2017-04-28 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (519 votes). Check out past polls.