Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Finding divisors from factors (NestedLoops)

by tye (Sage)
on Oct 09, 2014 at 05:45 UTC ( [id://1103255]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    );
    @d = sort { $a <=> $b } @d;
    print "Divisors: @d\n";
    
  2. or download this
    Divisors: 1 2 3 4 5 6 10 11 12 15 20 22 30 33 44 55 60 66 110 132 165 
    +220 330 660 277412413 554824826 832237239 1109649652 1387062065 16644
    +74478 2774124130 3051536543 3328948956 4161186195 5548248260 61030730
    +86 8322372390 9154609629 12206146172 15257682715 16644744780 18309219
    +258 30515365430 36618438516 45773048145 61030730860 91546096290 18309
    +2192580
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-16 20:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found