Primary Pseudoperfect Number Calculator

Check whether one over n plus the reciprocals of its distinct primes adds to exactly one.

Math and PercentUpdated 2026-11-182 min read
Primary Pseudoperfect Number Calculator
A whole number from 2 to 1,000,000.
Classification
...
Numerator over common denominator...
Common denominator used...

What it does

A primary pseudoperfect number is an integer n greater than one such that one over n plus the sum of one over each distinct prime divisor equals exactly one. This is an Egyptian fraction condition with a very rigid structure.

The first examples are 2, 6, 42 and 1806. For 6 the sum is one sixth plus one half plus one third, which equals one. The numbers are rare and grow quickly.

Checking the condition with floating point division would introduce rounding errors. This page builds a common denominator from n and all distinct primes, then compares integer numerators exactly.

The output shows the numerator sum and the common denominator, so a successful test displays the same number in both places. The verdict follows from exact equality.

The input limit is one million, which keeps factoring fast. All computations use integer arithmetic, and the tool reports a clear error outside the range.

How to use

  1. Enter a whole number n from 2 to 1,000,000.
  2. Read the classification in the main result box.
  3. Check the common numerator and denominator beside it.
  4. Equality means the reciprocal sum is exactly one.
  5. The default n = 6 reproduces the worked example.
  6. Try n = 42 to confirm the next example.

Formula

n is primary pseudoperfect when 1/n + sum over primes p dividing n of 1/p = 1
n
The integer being tested.
p
A distinct prime divisor of n.
common denominator
The product of n and the distinct primes.

The common denominator is the product of n and each distinct prime, so it is divisible by every term. Each fraction becomes an integer numerator over that denominator, and the sum is compared with the denominator itself.

Worked example

Example: n = 6

The page opens with n = 6.

  1. Factor 6 as 2 x 3.
  2. Build the common denominator: 6 x 2 x 3 = 36.
  3. One sixth becomes 36/6 = 6 over the denominator.
  4. One half becomes 18 and one third becomes 12.
  5. Add: 6 + 18 + 12 = 36, matching the denominator.
  6. The tool reports Primary pseudoperfect with numerator 36 and denominator 36.
  7. For 42 the same method gives 1764 over 1764.

Reference table

Primary pseudoperfect numbers
nFactorizationNumeratorDenominatorQualifies
2244Yes
62 x 33636Yes
122^2 x 36672No
422 x 3 x 717641764Yes
18062 x 3 x 7 x 43largelargeYes

Limits

  • Inputs above 1,000,000 are rejected to keep factoring quick.
  • Only integers greater than one are tested.
  • The tool prints exact numerators, which can be large.
  • No floating point arithmetic is used in the decision.

Common mistakes

  • Using decimal approximations of the reciprocals.
  • Forgetting the one over n term.
  • Counting repeated primes more than once.
  • Assuming equality of numerator and denominator is approximate.
  • Confusing this with primary pseudoperfect k-tuples in other contexts.

Try it yourself

Quick checks. Answers sit tucked under each question.

Is 6 primary pseudoperfect?

Yes, because 1/6 + 1/2 + 1/3 = 1.

Is 42 primary pseudoperfect?

Yes, its reciprocal sum is exactly one.

Why use a common denominator?

It turns the fraction test into an exact integer comparison.

Questions

What is an Egyptian fraction?

A sum of unit fractions, which is what this condition describes.

Are these numbers common?

No, only a handful are known within this range.

Does floating point matter?

Yes, which is why the tool avoids it entirely.

What is the smallest example?

Two.

Are results exact?

Yes, all fraction work uses integers.

What input range is accepted?

Whole numbers from 2 through 1,000,000.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.