Primary Pseudoperfect Number Calculator
Check whether one over n plus the reciprocals of its distinct primes adds to exactly one.
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
- Enter a whole number n from 2 to 1,000,000.
- Read the classification in the main result box.
- Check the common numerator and denominator beside it.
- Equality means the reciprocal sum is exactly one.
- The default n = 6 reproduces the worked example.
- Try n = 42 to confirm the next example.
Formula
- 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.
- Factor 6 as 2 x 3.
- Build the common denominator: 6 x 2 x 3 = 36.
- One sixth becomes 36/6 = 6 over the denominator.
- One half becomes 18 and one third becomes 12.
- Add: 6 + 18 + 12 = 36, matching the denominator.
- The tool reports Primary pseudoperfect with numerator 36 and denominator 36.
- For 42 the same method gives 1764 over 1764.
Reference table
| n | Factorization | Numerator | Denominator | Qualifies |
|---|---|---|---|---|
| 2 | 2 | 4 | 4 | Yes |
| 6 | 2 x 3 | 36 | 36 | Yes |
| 12 | 2^2 x 3 | 66 | 72 | No |
| 42 | 2 x 3 x 7 | 1764 | 1764 | Yes |
| 1806 | 2 x 3 x 7 x 43 | large | large | Yes |
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.