What's an efficient way of representing a big number (up to 100M digits) in a short format.
I'm thinking on possible solutions:
- logs
- factoriadic
- prime numbers base
Would like precision > 80-90%
Would any of that be computable in reasonable time?
For example 13123456! represents almost 100 million digits, but it happens to be the result of that factorial. What would be an aproximated approach for any pseudo-random number or how could I get a formula for general numbers like x = big_prime * n + modulo