# Can any non-halting Turing Machines with blank tape input print out any irrational number?

The fact that square root of 2, pi etc are computable numbers only means they can be approximated to arbitrary nth decimal, so these TM that approximate them do not count since they halt after printing out the nth digits. I would appreciate a definitive answer and reasoning. If the answer is NO, which I suspect, is the following statement equivalent? Any TM with blank tape input can only print rational numbers, assuming its alphabets are coded in integers.

• I don't see any difference between printing every digit of $1/3$ and printing every digit of $\sqrt{2}$. – Willard Zhan Jan 22 '17 at 14:42
• If you're talking about printing a number in a given base (e.g. base 10), you cannot print irrational numbers, because their representation is infinite. Similarly most of rational numbers in any given base are infinite. You cannot simply print out 1/3 in base 10 with using only digits and decimal point. Basically it all boils down what you permit when you say "print". Is recursion as in $0.\overline{3}$ ok? Is $\sqrt{2}$ ok? – Ordoshsen Apr 22 '18 at 5:53

I choose to represent numbers in base $\pi$. My machine prints $10$ and terminates, that's exactly $\pi$.