The hereditary representation of a nonnegative integer is obtained by writing its expansion in base
and recursively expanding each exponent in powers
of
until every remaining exponent is a single digit.
For example, the hereditary representation of 266 in base
2 is