I'm bad at Math and english isn't my native language. Bear with me. Thanks.
I'm running a prime number search script and writing the result to a SQLite3 database.
Now I'm looking for a way to shorten these prime numbers because I don't want to be forced to store them as strings if they get very big/long. I don't want to loose precision, so the shortened version should allow it to recompute the original value.
I don't care if the database has human-readable data. I can make it human-readable when I fetch data from the database again.
Browsed https://oeis.org and https://primes.utm.edu to see how they organize their database, but I was only more confused after that. Is there a best practice for this? I'm really stuck.