2 ms·
If you care what the number actually is, and you have gnu bc, : echo '(2^57885161)-1' | bc > prime.txt will yield a text file of 17,937,675 bytes, containi
by xy22y 14y ago
If you care what the number actually is, and you have gnu bc, :
echo '(2^57885161)-1' | bc > prime.txt
will yield a text file of 17,937,675 bytes, containing all the digits of the number, plus some overhead for newlines and continuation.
- iso8859-1 14y agoif you use a real Unix, you can use dc: »dc -e '2 57885161 ^ 1 - p'«