I am struggling with my crypt assignments and constantly getting overflow errors. Below is a simplified version of the problems I am experiencing
In[5]:= a:= 44^65537
In[6]:= b:= 22^65537
In[7]:= GCD[a,b]
Out[7]= 2265.....312 very big number
However I want to get an exponent with up to 13 digits or 48 bits to be exact.
If I do
In[8]:= a:= 44^6553700000000
In[9]:= b:= 22^6553700000000
In[10]:= GCD[a,b]
General::ovfl: Overflow occurred in computation.
General::ovfl: Overflow occurred in computation.
GCD::exact: Argument Overflow[] in GCD[Overflow[], Overflow[]] is not an exact number.
Out[10]= GCD[Overflow[], Overflow[]]
And now those question pop into my head
- The numbers becomes so big that the RAM can't handle it ?
- There is limit for the exponential power in Mathematica ?
- There is limit in my OS ?
- Numbers so big are impossible to calculate ?
Any input is appreciated !
:=
and=
in Mathematica - have a look here: mathematica.stackexchange.com/questions/18393/… $\endgroup$