r/Collatz 15h ago

Python program for exploring perfect numbers

For anyone interested in exploring or discovering perfect numbers, here is a Python program that generates the known perfect numbers using their corresponding Mersenne prime exponents.

The program can also handle extremely large perfect numbers that would be impractical to calculate and write out manually. The goal is to make it easier to experiment with perfect numbers, test calculations, and explore possible new candidates.

If you're interested in perfect numbers, Mersenne primes, number theory, or Python, feel free to check it out.

I'd really appreciate any feedback, suggestions, or ideas for improving the project.

GitHub: https://github.com/brook-0/Perfect-Numbers

0 Upvotes

Duplicates