Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: The Exponentiation of (not-so) Large Primes

by Abigail-II (Bishop)
on Oct 02, 2002 at 16:03 UTC ( [id://202303]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      (a * b) % c = ((a % c) * (b % c)) %c
    
  2. or download this
      (1019 ** 1019) % 3337 =
     ((1019 ** 2) * (1019 ** 1017)) % 3337 =
    (((1019 ** 2) % 3337) * (1019 ** 1017) % 3337)) % 3337
    

Log In?
Username:
Password:

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

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

    No recent polls found