MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How do I do very big integer computing by Mathematica?


a boy <avvboy at gmail.com> wrote in news:igbnia$hho$1 at smc.vnet.net:

> I asked how to do  very-big-integer computing. For example:
> Mod[2^2^64,1342352]
> It's pity, this code causes overflow!
> is there some funtions like this: StringMod["111...111","345"]


why don't you use PowerMod?


In[2]:= PowerMod[2, 2^64,1342352]

Out[2]= 963840



  • Prev by Date: Re: How do I do very big integer computing by Mathematica?
  • Next by Date: Re: about the use of button
  • Previous by thread: Re: How do I do very big integer computing by Mathematica?
  • Next by thread: Re: How do I do very big integer computing by Mathematica?