Googled around a bit after reading that other Python Thread. Found this.
Copied it, saved it, ran it. Surprised at how fast it ran, since I wrote a program to do the same thing, in the same manor, a while ago on my TI83 Calculator. 2009 Computer runs faster than a '99 Handheld Calculator. Shocking, amirite?
Anyway, I want to push it. To play with it. So I check out Wikipedia's page on Prime Numbers and find some fairly large ones (over 2 million)
Enter the numbers into the program and get an error. "argument is not of int type" I assume that's the script not being able to store memory for numbers as large as the ones I was trying.
How can I get around this? What would I need to do to make the program, or any program, for that matter, handle and save incredibly large numbers, without dropping digits?
If my assumption is wrong, what's actually happening?
Edit:
When I say "REALLY big", I'm thinking around the order of 10^1000.
Copied it, saved it, ran it. Surprised at how fast it ran, since I wrote a program to do the same thing, in the same manor, a while ago on my TI83 Calculator. 2009 Computer runs faster than a '99 Handheld Calculator. Shocking, amirite?
Anyway, I want to push it. To play with it. So I check out Wikipedia's page on Prime Numbers and find some fairly large ones (over 2 million)
Enter the numbers into the program and get an error. "argument is not of int type" I assume that's the script not being able to store memory for numbers as large as the ones I was trying.
How can I get around this? What would I need to do to make the program, or any program, for that matter, handle and save incredibly large numbers, without dropping digits?
If my assumption is wrong, what's actually happening?
Edit:
When I say "REALLY big", I'm thinking around the order of 10^1000.

