Help for this page

Select Code to Download


  1. or download this
    $ perl -wE 'printf "%.20f\n", log(125)/log(5)'
    3.00000000000000044409
    
  2. or download this
    use strict;
    use warnings;
    ...
    }
    
    say is_power_of(125, 5);