Equidigital number

From HandWiki
Demonstration, with Cuisenaire rods, that the composite number 10 is equidigital: 10 has two digits, and 2 × 5 has two digits (1 is excluded)

In number theory, an equidigital number is a natural number in a given number base that has the same number of digits as the number of digits in its prime factorization in the given number base, including exponents but excluding exponents equal to 1.[1] For example, in base 10, 1, 2, 3, 5, 7, and 10 (2 × 5) are equidigital numbers (sequence A046758 in the OEIS). All prime numbers are equidigital numbers in any base.

A number that is either equidigital or frugal is said to be economical.

Mathematical definition

Let [math]\displaystyle{ b \gt 1 }[/math] be the number base, and let [math]\displaystyle{ K_b(n) = \lfloor \log_{b}{n} \rfloor + 1 }[/math] be the number of digits in a natural number [math]\displaystyle{ n }[/math] for base [math]\displaystyle{ b }[/math]. A natural number [math]\displaystyle{ n }[/math] has the prime factorisation

[math]\displaystyle{ n = \prod_{\stackrel{p \,\mid\, n}{p\text{ prime}}} p^{v_p(n)} }[/math]

where [math]\displaystyle{ v_p(n) }[/math] is the p-adic valuation of [math]\displaystyle{ n }[/math], and [math]\displaystyle{ n }[/math] is an equidigital number in base [math]\displaystyle{ b }[/math] if

[math]\displaystyle{ K_b(n) = \sum_{{\stackrel{p \,\mid\, n}{p\text{ prime}}}} K_b(p) + \sum_{{\stackrel{p^2 \,\mid\, n}{p\text{ prime}}}} K_b(v_p(n)). }[/math]

Properties

  • Every prime number is equidigital. This also proves that there are infinitely many equidigital numbers.

See also

Notes

References