powered by
Given a natural number, return the natural number equivalent to its one-hot encoding. Examples: 3 -> 100 -> 4, 5 -> 10000 -> 16
one_hot(nat)
the natural number to convert
the converted number