Frugal number

Source: Wikipedia, the free encyclopedia.

In

base 2
, thirty-two is a frugal number, since 32 = 25 is written in base 2 as 100000 = 10101.

The term economical number has been used for a frugal number, but also for a number which is either frugal or equidigital.

Mathematical definition

Let be a number base, and let be the number of digits in a natural number for base . A natural number has the prime factorisation

where is the p-adic valuation of , and is an frugal number in base if

See also

Notes

References