Free Online Utility • MATH Studio • Exact BigInt Engine

Generate Pseudoperfect Number Sequence

Generate pseudoperfect (semiperfect) numbers (OEIS A005835: 6, 12, 18, 20, 24, 28, 30, 36, 40, 42...)—integers equal to the sum of some subset of their proper divisors—using exact BigInt bitset subset-sum DP.

Formula & Quick Reference Live Engine
n is pseudoperfect  <=>  ∃ S ⊆ ProperDivisors(n)  such that  Σ_{d ∈ S} d = n
First terms: 6, 12, 18, 20, 24, 28, 30, 36, 40, 42, 48, 54, 56, 60, ...
61 + 2 + 3
122 + 4 + 6
201 + 4 + 5 + 10
EXACT INTEGER SEQUENCE · OEIS A005835
Generate Pseudoperfect Number Sequence

        
100% client-side exact mathematics Instant

Session Calculation Log

No entries recorded in this session yet.

Complete Technical Guide to Generate Pseudoperfect Number Sequence

A positive integer n is pseudoperfect (or semiperfect, OEIS A005835) if it can be written as the sum of all or some of its distinct proper divisors. Every perfect number (6, 28, 496) and every multiple of a pseudoperfect number is automatically pseudoperfect.

The smallest odd pseudoperfect number is 945, while the rare abundant numbers that fail to be pseudoperfect (starting with 70) are called Weird numbers.

Subset-Sum Proper Divisor Criterion

n is pseudoperfect  <=>  ∃ S ⊆ ProperDivisors(n)  such that  Σ_{d ∈ S} d = n
First terms: 6, 12, 18, 20, 24, 28, 30, 36, 40, 42, 48, 54, 56, 60, ...

Using a BigInt bitmask dp where bit k indicates whether subset sum k is achievable, every proper divisor d transitions dp ← dp | (dp << d), proving exact pseudoperfectness instantaneously.

How to Use Generate Pseudoperfect Number Sequence

  1. 1Pick a quick preset or enter any term count up to 1,000.
  2. 2Choose comma, space, or newline separation and optionally toggle 1-based term indexing.
  3. 3Copy plain text, export structured JSON, or download a .txt file with one click.

Reference Examples & Worked Benchmarks

Index / MilestoneExact TermNotes
61 + 2 + 3Also a perfect number
122 + 4 + 6Proper divisors: 1,2,3,4,6
201 + 4 + 5 + 10Primitive pseudoperfect

Practical Applications & Engineering Workflows

Combinatorics & Number Theory

Generate verified terms of OEIS A005835 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 A005835.

All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.

Frequently Asked Questions

Is every abundant number pseudoperfect?
Almost all are, but not all! Abundant numbers that are NOT pseudoperfect are called Weird numbers—the smallest is 70.
What is the smallest odd pseudoperfect number?
945 (= 3³ × 5 × 7), which is also the smallest odd abundant number.