How to convert an integer to a Knuth notation?

111 Views Asked by At

The Knuth notation enables to write very large number in a compact way.

I however cannot find the way to do the reverse calculation.For instance, given the number $123456789$ , how can it be written in the Knuth notation?

The only way in I could think about is to range it using preknown numbers in Knuth notation.