Complete Technical Guide to Generate Superperfect Number Sequence
Defined by D. Suryanarayana in 1969, a superperfect number satisfies the iterated divisor-sum identity σ(σ(n)) = 2n (OEIS A019279)—generalizing Euclid's classical perfect numbers σ(n) = 2n. The sequence starts 2, 4, 16, 64, 4096, 65536, 262144, 1073741824, ...
Unlike classical perfect numbers (which equal 2^(p−1)(2^p − 1)), even superperfect numbers are pure powers of two 2^(p−1) corresponding to Mersenne prime exponents p—allowing exact BigInt expansion all the way past 1,300 decimal digits!
Suryanarayana's Superperfect Theorem (1969)
σ(σ(n)) = 2n Even superperfect numbers: n = 2^(p - 1) where 2^p - 1 is a Mersenne prime! Proof: σ(2^(p-1)) = 2^p - 1 (prime) => σ(2^p - 1) = (2^p - 1) + 1 = 2^p = 2n
Every Mersenne prime exponent p = 2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, ... generates an exact even superperfect number 2^(p−1), verified instantaneously in BigInt arithmetic.
How to Use Generate Superperfect Number Sequence
- 1Pick a quick preset or enter any term count up to 20.
- 2Choose comma, space, or newline separation and optionally toggle 1-based term indexing.
- 3Copy plain text, export structured JSON, or download a .txt file with one click.
Reference Examples & Worked Benchmarks
| Index / Milestone | Exact Term | Notes |
|---|---|---|
| p = 2, 3, 5, 7 | 2, 4, 16, 64 | σ(σ(16)) = σ(31) = 32 = 2×16 |
| p = 13, 17, 19 | 4096, 65536, 262144 | Mersenne primes 8191, 131071, 524287 |
| p = 31 | 1,073,741,824 | 2^30 (Euler's 2^31−1 prime) |
Practical Applications & Engineering Workflows
Combinatorics & Number Theory
Generate verified terms of OEIS A019279 instantaneously for proofs, OEIS lookups, and test fixtures.
Algorithm & Curriculum Verification
Cross-check exact BigInt outputs without floating-point overflow past 2^53.
Accuracy, Edge Cases & Best Practices
- All calculations run locally in your browser using exact BigInt / sieve arithmetic matching OEIS A019279.
All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.