All Tools
Categories
Number Tools 69 XML Tools 64 Email Marketing Tools 55 Import-Export Tools 50 JSON Tools 45 Text Tools 13 Shipping Freight Tools 5 Calculator 4
About Contact Privacy

Deficient Numbers Generator

Generate deficient numbers: n with sigma(n) < 2n: 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14... The majority of integers. Each row shows sigma(n) and the deficiency. Divisor-sieve computed, start anywhere, up to 500 terms. Runs in your browser. Free.

Parameters
1 - 500
sigma(n) is the sum of all positive divisors of n. Numbers with sigma(n) < 2n are deficient; the shortfall is the deficiency.
Sequence

          

About Deficient Numbers Generator

Sum a number's divisors and most integers come up short: that is deficiency, sigma(n) < 2n. The class opens 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, ... — every prime, every prime power, and roughly three of every four integers in between.

Deficient Numbers Generator builds a divisor-sieve of sigma up to any needed bound, then hands you any window of deficient numbers: start at the 73,000th deficient number and read sigma and deficiency exactly as computed.

Features

  • Complete divisor sums: Sigma computed for every integer by a classic near-linear divisor sieve.
  • Deficiency on every row: The shortfall 2n - sigma(n) is displayed for each term.
  • Start anywhere: Any position from the 1st to the 100,000th deficient number, 1 to 500 consecutive terms.
  • Fast at any depth: The sieve makes deep windows as cheap as shallow ones.
  • Reference tab: The density theorem, prime-power proofs, and the perfect boundary.
  • Free and private: All computation is local; nothing is uploaded, stored or logged.

How to Use

  1. Set the start index — which deficient number to begin with (1 to 100,000).
  2. Set the count — consecutive deficient numbers to list (1 to 500).
  3. Generate — the sieve fills sigma up to the needed bound instantly.
  4. Check sigma and deficiency — the two numbers that certify each entry.
  5. Copy or download — the run as index = value lines.

Examples

Example 1 — The opening list. Count 14: 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 13, 14, 15, 16 — most of the smallish integers are deficient.

Example 2 — Unit deficiency. n = 8: sigma = 15 = 2n - 1, deficiency exactly 1; the only integers that come closer to perfection without reaching it are the powers of two.

Example 3 — Prime rows. Count 5 from index 4: 5, 7, 8, 9, 10 — three prime powers (5, 7, 9) plus 8 and 10, each with a visible shortfall.

Example 4 — Deep start. Start index 50,000, count 5: the sieve spans beyond 67,000 to collect the window in milliseconds.

Example 5 — The boundary. Scan the first 20 rows: 12 never appears — it is abundant — and neither does 6, which is perfect. The trichotomy is complete.

Benefits

  • Definition-faithful: Every entry certified by its own sigma count.
  • Index-proof speed: Near-linear sieve keeps any window immediate.
  • Flexible ranges: Up to 100,000 positions deep, 500 terms wide.
  • Clean output: Copy or download index = value lines.
  • Educational reference: Density, prime powers, and the perfect boundary.
  • Private by design: No servers, no uploads, no logging.

Frequently Asked Questions

What is a deficient number?
An integer n is deficient when the sum of all its divisors, sigma(n), is smaller than 2n — the divisors weigh less than the number itself. Every prime, every prime power, and about three integers out of four land here: 1, 2, 3, 4, 5, 7, 8, 9, 10, ...
Why are primes deficient?
A prime p has divisors 1 and p only, so sigma(p) = p + 1, far below 2p for every p &gt; 1. More generally every prime power p^k has sigma(p^k) = (p^(k+1) - 1)/(p - 1) &lt; 2p^k, so whole towers of prime powers are deficient.
How many integers are deficient?
About 75% — the deficiency class has density roughly 0.7524. While abundant numbers are the minority at about 24.8%, and perfect numbers are vanishingly rare, deficiency is the default state of an integer.
What is the deficiency itself?
The shortfall 2n - sigma(n). For 8, sigma = 15 and 2n = 16, so the deficiency is 1; for 9 it is 5. The generator prints this number on every row.
Can a number be neither deficient nor abundant?
Yes — those are the perfect numbers (sigma = 2n): 6, 28, 496... Every positive integer falls into exactly one of the three classes: deficient, perfect or abundant.
How does the generator work?
A divisor sieve adds every d into the divisor sums of all its multiples, building the complete sigma table up to the needed bound in near-linear time, then the deficient slice is extracted and windowed.
Is anything stored or uploaded?
No. The sieve runs entirely in your browser; nothing is sent to a server, saved or logged. Copy or download the run before closing the tab.