Unusual Number Calculator
Prime factors
- Factor 20 = 2^2 x 5 and pick out the largest prime factor, 5.
- Compare it with the square root of the number itself: sqrt(20) = 4.4721.
- The largest prime factor exceeds the square root, so the number is unusual - one big prime factor dominates it.
- Every prime is unusual by this test, since its largest prime factor is itself; the interesting cases are composites like 20, whose factor 5 clears the square root 4.4721.
Some numbers are dominated by a single large prime factor; others are built entirely from small ones. An unusual number is one of the first kind: its largest prime factor is strictly greater than its square root. The definition is a one-line test, but it splits the integers in a lopsided way - most numbers turn out to be unusual, and the failures are the interesting minority.
This calculator factors your number, compares its largest prime factor with its square root, and shows both sides of the comparison. The two anchor cases: 20 is unusual, because its largest prime factor 5 beats sqrt(20) = 4.4721; 49 is not, because its largest prime factor 7 exactly equals sqrt(49) = 7.0000, and the test is strict.
The list mode is where the definition's personality shows. Ask for the unusual numbers up to 50 and you get 32 of them - about two-thirds of the range - and the share keeps rising as the limit grows: up to 1,000, some 715 of the 999 integers from 2 qualify. Unusual is the normal state of an integer; it is the usual numbers, built entirely from small balanced factors, that are the specialists.
Worked examples
Is 20 unusual?
(0 - test a single number · 20)
| is 20 an unusual number? | Yes - largest prime factor 5 is greater than the square root 4.4721 |
| prime factorization | 2^2 x 5 |
| largest prime factor | 5 |
| square root of n | 4.4721 |
Is 49 unusual?
(0 - test a single number · 49)
| is 49 an unusual number? | No - largest prime factor 7 is not greater than the square root 7.0000 |
| prime factorization | 7^2 |
| largest prime factor | 7 |
| square root of n | 7.0000 |
Unusual numbers up to 50
(1 - list up to a limit · 50)
| unusual numbers up to 50 | 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19, 20, 21, 22, 23, 26, 28, 29, 31, 33, 34, 35, 37, 38, 39, 41, 42, 43, 44, 46, 47 |
| how many there are | 32 |
| largest of them | 47 |
| share of all integers from 2 | 65.3% |
The unusual test
Factor n, take the largest prime factor, and compare it with sqrt(n). If the factor is strictly greater, n is unusual; if it is smaller - or exactly equal - n is not. The equality case is the classic trap: 49 = 7 x 7 has largest prime factor 7 and square root 7.0000, and because the comparison must be strict, 49 fails. Numbers like 49, whose prime factors all sit at or below the square root, are sometimes called usual in the literature of this definition.
Every prime passes trivially: a prime's largest prime factor is itself, and every integer above 1 exceeds its own square root. So the primes are all unusual, and the real question is always about composites - does one big prime dominate the factorization, or is the number built from balanced small factors?
- Unusual: largest prime factor > sqrt(n), strictly
- 20 qualifies (5 > 4.4721); 49 does not (7 = 7.0000)
- Every prime is unusual by this test
- List mode: 32 unusual numbers up to 50
Why the big prime can only appear once
A prime factor p above sqrt(n) has a rigid consequence: it can appear only to the first power, because p^2 would already exceed n. So every unusual composite has the shape n = p x m where p is a large prime appearing once and m < p is the remaining, smaller part. Numbers like 20 = 5 x 4 and 2p for any large prime p are the typical shapes.
This is also where the unusual test parts company with the rough-number test on the sibling page. A k-rough number has all prime factors above a fixed threshold k; an unusual number has its largest factor above a moving threshold, its own square root. The two classifications overlap but neither contains the other - the threshold here adapts to the size of the number itself.
- A dominant prime factor above sqrt(n) always appears to the first power only
- Unusual composites look like p x m with p large and m < p
- Different from k-rough: the threshold here is sqrt(n), not a fixed k
How common unusual numbers are
Up to 50 there are 32 unusual numbers: 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19, 20, 21, 22, 23, 26, 28, 29, 31 and on to 47 - about two-thirds of the range. The failures below 50 are the exception: numbers like 36, 48 and 49 whose prime factors are all small and balanced.
The unusual numbers stay the majority as the range grows: a number fails only when every prime factor is at most its square root, a genuinely restrictive condition, because a large integer usually picks up at least one prime factor in the upper range. The list mode of this calculator reports the share of the range alongside the list, so you can watch the balance shift as the limit increases.
The computed counts, for the record: 32 of the integers up to 50 are unusual (about 65 percent), 715 of the first 1,000 (71.6 percent), and 7,319 of the first 10,000 (73.2 percent). The share is still creeping upward at 10,000 - the unusual numbers are not a curiosity class but the typical case, and it is the 'usual' numbers, all of whose prime factors fit under the square root, that are the special ones.
| Number | Largest prime factor | sqrt(n) | Unusual? |
|---|---|---|---|
| 20 | 5 | 4.4721 | Yes |
| 49 | 7 | 7.0000 | No - equality fails the strict test |
| 36 | 3 | 6.0000 | No |
| 47 | 47 | 6.8557 | Yes - it is prime |
Where the distinction matters
The unusual/usual split is a quick structural probe. In factoring, a number with one dominant prime factor behaves differently from a balanced semiprime: Pollard's rho and related methods exploit small factors, while a single large factor is the hard core that remains. In cryptographic contexts, RSA-style moduli are deliberately built as products of two comparably sized primes - precisely the non-unusual shape, so that neither factor dominates and no easy split exists.
For the pure-mathematics side, the test is a clean first example of a definition by a single inequality between two derived quantities - and of why the strictness of the inequality matters: change > to >= and 49, 121, 169 and every squared prime flips class.
Unusual numbers in the smooth-and-rough landscape
Number theorists sort integers by their prime factors' sizes: y-smooth numbers have all prime factors at most y, and y-rough numbers have all prime factors above y. The unusual test sits at an angle to both. An unusual number is one whose largest prime factor exceeds the moving bound sqrt(n) - it need not be rough (20 = 2^2 x 5 has the small factor 2) and it need not fail smoothness in any fixed sense, because the bound grows with the number itself.
That moving bound is what makes the classification self-scaling. A fixed threshold like 5 or 7 means something different for a 3-digit number than for a 30-digit one; the square-root threshold always asks the same relative question - does one prime own more than half the number's logarithmic size? A factor above sqrt(n) contributes more than half of log n, which is the precise sense in which it dominates.
The borderline cases cluster at squares of primes: p^2 has largest prime factor p exactly equal to its square root, so 49, 121 and 169 all fail on equality, while p^2 - 1 and p^2 + 1 typically pass with room to spare. Testing the neighbours of a prime square is the quickest way to feel where the boundary sits.
- Share up to 50: 32 of 49 integers (about two-thirds)
- Share up to 1,000: 715 of 999 - the unusual are the majority
- Prime squares p^2 always fail on equality: 49, 121, 169
Borderline anatomy: around a prime square
The boundary of the unusual test is easiest to feel around a prime square. Take 49: it fails on equality. Its neighbours split by shape, not by size. 48 = 2^4 x 3 has largest prime factor 3 against a square root of about 6.93 - nowhere near. 50 = 2 x 5^2 has largest prime factor 5 against about 7.07 - also short. But 51 = 3 x 17 has largest prime factor 17 towering over a square root of about 7.14, and 52 = 4 x 13 clears the bar the same way. Within four consecutive integers the class flips twice, driven entirely by whether a large prime moved in.
That local jitter is why list mode is more instructive than any single test. Runs of failures need runs of balanced factorizations, which get harder to sustain as numbers grow - every integer in a stretch must avoid large prime factors simultaneously. Runs of successes need nothing special at all: one big prime anywhere in the factorization settles it.
For a final calibration, test the primorial-style extremes: a product of the first several primes, like 2 x 3 x 5 x 7 x 11 = 2310, has largest prime factor 11 against a square root near 48 - deeply usual in shape despite being large. A product like 2 x 10007, with one small and one large prime, is unusual at any size. The test reads structure, not magnitude.
- Around 49: 48 fails (3 vs 6.93), 50 fails (5 vs 7.07), 51 and 52 pass easily
- 2310 = 2 x 3 x 5 x 7 x 11 is not unusual - large but balanced
- One large prime factor anywhere settles the test, whatever the size
FAQs
What is an unusual number?
A number whose largest prime factor is strictly greater than its square root. For example, 20 is unusual because its largest prime factor 5 beats sqrt(20) = 4.4721.
Is 49 an unusual number?
No. 49 = 7 x 7, so its largest prime factor 7 equals its square root 7.0000 exactly - and the comparison must be strict. Equality is not enough.
Is every prime unusual?
Yes. A prime's largest prime factor is itself, and every integer above 1 is greater than its own square root, so all primes pass the test automatically. The interesting cases are composites.
How many unusual numbers are there up to 50?
32. The list starts 2, 3, 5, 6, 7, 10, 11, 13, 14, 15, 17, 19, 20 - most integers qualify, and the failures are numbers whose prime factors are all at most their square root.
Can the largest prime factor of an unusual number be squared?
No. If p > sqrt(n) then p^2 > n, so the dominant prime can only appear to the first power. Every unusual composite is a large prime times a smaller remainder.
What is the opposite of an unusual number?
There is no single standard name; a number that fails the test - every prime factor at most its square root, like 49 - is sometimes called usual in the literature of this definition. It is a genuinely restrictive shape once numbers get large.