Modular exponentiation: Difference between revisions
Content deleted Content added
Line 2,037: | Line 2,037: | ||
a := 2988348162058574136915891421498819466320163312926952423791023078876139 |
a := 2988348162058574136915891421498819466320163312926952423791023078876139 |
||
b := 2351399303373464486466122544523690094744975233415544072992656881240319 |
b := 2351399303373464486466122544523690094744975233415544072992656881240319 |
||
write("last 40 digits = ",mod_power(a,b,(10^40)) |
write("last 40 digits = ",mod_power(a,b,(10^40))) |
||
end |
end |
||