MathGroup Archive 2011

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

Search the Archive

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

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115389] Re: How do I do very big integer computing by Mathematica?
  • From: Ulvi Yurtsever <a at b.c>
  • Date: Mon, 10 Jan 2011 02:35:02 -0500 (EST)
  • References: <igbnia$hho$1@smc.vnet.net>

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?