Almost perfect numbers are the numbers that miss perfection by exactly one: the sum of all divisors of n equals 2n − 1. Every power of two passes the test — 1, 2, 4, 8, 16, 32, 64, ... — because the divisors of 2^m sum to 2^(m+1) − 1 per the geometric series. Whether any other number passes remains one of the quiet open problems of elementary number theory.
Almost Perfect Numbers Generator walks the powers of two term by term, verifying sigma(n) = 2n − 1 for each exponent, and lets you inspect values with hundreds of digits computed exactly in BigInt.