It is worth noticing that when working with large numbers, most noticably using the modulo operator, the results depend on your CPU architecture.
Therefore, running a decent 64-bit machine will be to your advantage in case you have to perform complex mathematical operations.
The point of being a good programmer is writting code that is easy to understand (comment your code when necessary!
), easy to maintain and with high efficiency, among other things.
Here is some example code - you can compare its output on x86 and x86_64 machines: The % operator doesn't behave as many people with a maths background would expect, when dealing with negative numbers.