✳ Atlas

Numbers Using Exactly Two Distinct Digits

There are exactly 4,294 matches for numbers using exactly two distinct digits among the 1,000,001 integers from 0 to 1,000,000, inclusive: 0.4294% of the range. Four or more places use exactly two different digits.

Computed with engine art-1.0.0. Data updated: 2026-09-26 (UTC). Rules independently implemented by RNGDLE.ART.

matches4,294
Frequency0.4294%

Repetition

Rule, exact count and rarity

This pattern restricts the number's decimal alphabet to exactly two distinct symbols and requires at least four places. Both symbols must appear, but their frequencies and arrangement are unrestricted. Alternating strings, long repeated runs and less regular arrangements may all qualify. A repdigit is excluded naturally because it uses only one symbol. The minimum length prevents very short numbers from satisfying an otherwise loose condition automatically. Zero can be one of the two symbols once the number starts with a nonzero digit. This is a base-ten statement: a number using two decimal symbols need not use two hexadecimal symbols. It is also different from having a two-digit value; the name describes symbol diversity, not numerical length.

The exact count, 4,294, comes from evaluating all 1,000,001 integers from 0 through 1,000,000, including both endpoints. It is not a sample or an estimate. Each matching integer is counted once for this category, even if it contains multiple qualifying segments. Its frequency of 0.4294% describes the chance that a uniformly chosen integer passes this one test. It is not the global score percentile of every member, and overlapping pattern counts must not be added as if they represented disjoint sets.

The pattern supplies −log₂(4,294 / 1,000,001) bits before its within-family weight is applied. Other matched patterns, digit sum, distinct-digit count and short-length signals can change the complete score. Consequently, members of this category need not share a ranking. The highest-scoring representative is 3,003, with a rarity score of 1,225 and Top 0.0015%. This uses its complete score across all features, not just this pattern. Equal scores are displayed in ascending numerical order.

Example numbers

Explore

The highest-scoring match

The highest-scoring representative is 3,003, with a rarity score of 1,225 and Top 0.0015%. This uses its complete score across all features, not just this pattern. Equal scores are displayed in ascending numerical order.

Frequently asked questions

How many numbers using exactly two distinct digits are there between 0 and 1,000,000?

There are exactly 4,294 matches for numbers using exactly two distinct digits among the 1,000,001 integers from 0 to 1,000,000, inclusive: 0.4294% of the range. Four or more places use exactly two different digits.

Does a two-digit number match the two-symbol pattern?

No. The engine requires at least four decimal places and exactly two distinct digits. For example, 1001 qualifies but 12 does not.

What is the highest-scoring numbers using exactly two distinct digits representative?

The highest-scoring representative is 3,003, with a rarity score of 1,225 and Top 0.0015%. This uses its complete score across all features, not just this pattern. Equal scores are displayed in ascending numerical order.

← Atlas