3

I am looking for a software that is able to crunch very large numbers, i.e. numbers exceeding 100 (or thousands of) digits. It needs to be able to perform basic operations on them as well as others such as taking the n-th root, finding the nearest prime, etc.

Any good recommendations?

2

I would suggest that you look at Wolfram Mathematica as @john suggested.

The only thing is that John should not state something he does not know.

There are other commercial packages such as Mathematica and Matlab that may be able to do that but they are more than $1000 I think. Expensive anyway.

  1. First off, pricing is dependent on intention of use. More use = more money.
  2. Do you honestly think you will get the same amount of precision with a $25 dollar software package as with a software that is maintained by hundreds of part-time mathematicians? It definitely is possible, but extremely unlikely. Pricing for Mathematica Licensing by Industry

Pricing Information Based off of Use

Home and Hobby Mathematica License

Industry Pricing Wolfram Mathematica License

Example of Using Wolfram Language for Precision with Very Large Numbers

Wolfram Precision Software

| improve this answer | |
  • @karel Interesting. Thanks for the edits and useful information. I did not know that. In terms of format, were you viewing this on mobile or desktop? – Ted Taylor of Life Jun 5 '17 at 13:36
  • 1
    I ended up purchasing Mathematica and it is everything I was looking for. Thank you. – Klangen Jun 5 '17 at 18:42
5

A quick check with python3.6 64 bit:

In [13]: n = 1234*10**40000

In [14]: len(str(n))
Out[14]: 40004

In [15]: m = n + 1

In [16]: m-n
Out[16]: 1

If you need really big integer numbers with no loss of accuracy you can use python under jupyter, (this gets round the command prompt memory limitations by working in a browser).

| improve this answer | |
2

If you are on a Mac I would try Math Studio. Python with its Numpy module works well on any platform. Python will do integer math to however many digits you want limited by computer memory. Python is of course free while Math Studio costs around $25. There are other commercial packages such as Mathmatica and Matlab that may be able to do that but they are more than $1000 I think. Expensive anyway. A final option I'm aware of is Sage Math. An online mathematics package that does quite a lot. Built out of python and other packages such as Maxima. Maxima maybe an option as well.

| improve this answer | |
  • Thanks for your reply. But does Matlab and Mathematica work well with integers with over 100 or even 1000 (10k) digits? – Klangen Jun 4 '17 at 17:19
  • That I don't know. Sorry... – jmh Jun 4 '17 at 17:22
  • 1
    Both are popular packages. Their respective web pages may answer your question. – jmh Jun 4 '17 at 17:25
  • Thanks I'll check that out. – Klangen Jun 4 '17 at 17:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.