Need a quick favor

tontod

Diamond Member
Oct 12, 1999
3,244
0
71
I'm trying to calculate x^y for a large number, my calculator craps out if the exponent is larger than a certain number. I think graphing calculators such as HP-48G has a much higher limit. I need to calculate 3^2211 for a homework problem. Can someone who has a graphing calc do it for me and let me know how much it is? Even google fails at it. Thanks.
 

ArmchairAthlete

Diamond Member
Dec 3, 2002
3,763
0
0
With python I get:

822420988535554334230096192969583874732437570819065220820717537858761296415754428041213 268574222916534994254319557379831267734705737130003124055002580039344549585846528721511 866818140408084931649811037275403755643061453892006291228575878057162379142252725772101 237121472648643762472940061665137992500287084644460591000169491352460493380864007438452 532721137430122476381171350502293831257635492822318194250542947402599747565686962030011 568319336820104149398932864129285122265955221403207059175405921516501827353062594790552 027600983646470748453938738924753903572896778717796225431440195617678353170732816456642 013041418050522182483204333010331359583128256944732741847954838048854097855625527977488 866609904952670650582932552127831834318112667584473404483897479137022402350430482714571 204431093112461110287723481648599617608785161625585412834311948822165310480440321252337 984989499124396584536032313798886565758440474219859876355030015498168970758014579331734 925144888258101783285002184876585831380256599586490959800040510985360004853414449196191 49582325147L

You wanted a non exponent right? Have fun writing that down.
 

ConwayJim

Senior member
Dec 16, 2004
925
1
0
Sorry man, i tried a number of online calcs, and they all state infinity;i think this is a little to large to calculate
 

tontod

Diamond Member
Oct 12, 1999
3,244
0
71
Hmm, ok. Here is the hw problem, maybe I'm missing something:

Using Fermat's theorem, find 3^201 mod 11. Fermat's theorem states a^p=a mod p. Can anyone verify what I did?

edit: maybe i'll just leave it at 3^2211, no point in going any further.