In number theory, an extravagant number (also known as a wasteful number) is a natural number in a given number base that has fewer digits than the number of digits in its prime factorization in the given number base (including exponents). For example, in base 10, 4 = 22, 6 = 2×3, 8 = 23, and 9 = 32 are extravagant numbers (sequence A046760 in the OEIS). There are infinitely many extravagant numbers in every base.
Mathematical definition Let b>1 be a number base, and let Kb(n)=⌊logbn⌋+1 be the number of digits in a natural number n for base b. A natural number n has the prime factorisation
n=∏p primep∣npvp(n) where vp(n) is the p-adic valuation of n, and n is an extravagant number in base b if
Kb(n)<∑p primep∣nKb(p)+∑p primep2∣nKb(vp(n)).
See also Equidigital number Frugal number
Notes
References R.G.E. Pinch (1998), Economical Numbers. Chris Caldwell, The Prime Glossary: extravagant number at The Prime Pages.