Monotonic functions bijectively mapping rational numbers to $n$-adic rationals (numbers having finite expansions in base $n$)

24 Views Asked by At

The Minkowski's question-mark function is a monotonic bijective function from rational numbers to numbers with finite binary representations. For which natural numbers $n$ is there a monotonic one-to-one correspondence between the set of rational numbers and the set of finite base-$n$ numbers?