Perfect number finder using GMP