Let $\mathbf{L}$ be the set of all languages over $\Sigma=\{0,1\}$ and $E(\Sigma)$ be a lexicographic enumeration of $\Sigma^*$. Then there exists a bijection from $f:\mathbf{L} \rightarrow [0,1)$ where $f(L)$ has its $i$-th bit (to the right of the binary point) set to 1 iff the $i$-th string in $E(\Sigma)$ belongs to $L$. For simplicity, ignore languages that have a binary expansion consisting entirely of ones after a finite number of positions (such as .001001111111.....).
Questions
(1) Conjecture: If $L_{u}$ is an unrecognizable language, $f(L_u)$ must be an irrational , possibly transcendental number.
The intuition is that rational expansions are finite or periodic, hence must be trivially decidable, and algebraic numbers are expanded by solving the corresponding polynomial equation. Is there a proof/counterexample for this? Admittedly, this is only an intuition.
(2) What kind of numbers do the undecidable-but-recognizable languages map to?
I was just reading a relevant paper yesterday. The paper is "On the computational complexity of algorithms" by J. Hartmanis and E. Stearns. How numbers are related to complexity is just the last section of the paper. It uses a different definition, that of a sequence where the i-th term is 1 if the i-th string is in the language. It seems to me like the two definitions are equivalent or can be with slight modifications.
The paper proves that:
Note that this paper is from 1965, therefore a search is possible to provide better results.