Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Factors

by kvale (Monsignor)
on Jun 13, 2002 at 04:51 UTC ( #174101=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $p = shift;
    my %residues;
    ...
    foreach (sort {$a <=> $b} keys %factors) {
       print "$p = $_*", $p/$_, "\n";
    }
    
  2. or download this
    1021% factor.pl 54
    54 = 2*27
    54 = 6*9
    54 = 18*3
    54 = 54*1
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2023-03-22 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?