USAGE: mprint p [base] [perfect]

Outputs the p:th Mersenne number, 2^p-1 in base base to stdout.
The optional parameter base must be 2...36 and defaults to 10 (decimal).

If you add a third parameter, it outputs the associated perfect number
2^(p-1)*(2^p-1).

This program should be able to print Mersenne numbers up to about M17000000
(two to the power of 17 million minus one) on a machine with 8 MB of memory,
and perfect numbers up to half p of that.

If you have more memory and want to print bigger numbers, text edit the file
apfloat.ini and change the value on the line

Ramsize=8388608

to the size of your computer's RAM in bytes (approximately).
