Is the set of all real numbers whose decimal expansions are computed by a machine not countable?
Assume a digital machine not capable of computing infinite decimal places.
Is the set of all real numbers whose decimal expansions are computed by a machine not countable?
Assume a digital machine not capable of computing infinite decimal places.
Copyright © 2021 JogjaFile Inc.
For any programming language (Turing-complete or not) where programs consist of a finite (but unbounded) number of symbols taken from a finite alphabet, the number of possible programs is countable.
Any computable number can be defined by a program P that calculates the number accurate to within n decimal (or binary) places, where n is an integer provided by the user. Since P and n are both part of countable sets, the possible outputs of $(P, n)$ pairs also forms a countable set.
Therefore, the number of computable numbers is countable.