Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Recurring Cycle of Fractions (tiny)

by tye (Cardinal)
on Sep 09, 2007 at 07:43 UTC ( #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
Node Status?
node history
Node Type: note [id://637891]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-07-26 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls