Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Recurring Cycle of Fractions (tiny)

by tye (Sage)
on Sep 09, 2007 at 07:43 UTC ( [id://637891]=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;
    ...
    }
    substr( $rep, 0, $seen{$rem} )= '';
    print "$num / $den = ...$rep\n";
    
  2. or download this
     $ perl repDig.pl 97
    1 / 97 = ...010309278350515463917525773195876288659793
    ...
     $ perl repDig.pl 2 97
    2 / 97 = ...020618556701030927835051546391752577319587
    628865979381443298969072164948453608247422680412371134
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-25 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found