186
DE LEEUW, MOORE, SHANNON, AND SHAPIRO
MACHINE NO. 2: Let g be an integral valued function of positive integers
which is computable, that is, there is an effective process for finding
g(n) if n is given. Let the machine print the output symbol (r, g (r))
after it has scanned the r^*1 input symbol. In this case f(a^ , ..., a ) =
|(l, g( 1 )), (2, g( 2)), ... (n, g(n))j and the output is independent of the
input. This machine and Machine No. 1 are extreme cases. No. 2 is oblivious
of the input and No. 1 essentially copies the input onto the output tape.
Note that No. 2 would not be a machine according to our definition if the
function g were not computable, for in this case there would be no effective
process for determining what the output would be if the input were given.
MACHINE NO. 3: Let the machine print the symbol 0 as soon as it comes to
the first zero in the input sequence. Otherwise it is to do nothing. Then
f(a1, ..., an ) = (o) if one of the a^ is a zero. Otherwise the machine
prints nothing. This eventuality will be denoted by the "empty sequence,"
( .), and we have f (1, ..., 1 ) = ( .).
MACHINE NO. b: Let f(a1 , ..., a ) = (a^. The machine merely copies the
first input symbol onto the output tape and then prints nothing.
MACHINE NO. 5: Let the machine print the output symbol r if the maximum
length of a string of 11s that the machine has observed is r . For ex-
ample, f(l) = (i), f(i, o) = (1, 1), f(l, 0, 1) = (l, 1, 1),
f(i, o, i, i ) = (i, 1, i, 2).
MACHINE NO. 6: Let h(r, s) be a computable integral valued function whose
domain is the positive integers. The machine prints nothing until it comes
to the first 1 in the input; if this 1 is the first input symbol it never
prints anything; if this 1 has occurred after r zeroes, it prints the
symbol (1, h (r, 1)). After the next input the machine prints (2, h(r, 2)),
after the next (3, h(r, 3)) etc. Let the function hp with r fixed be
defined by h ^s) = h(r, s). Then what this machine actually does is to
compute the function h^ if it is presented with an initial string of r
zeroes followed by a 1.
MACHINE NO. 7: This machine is .given by f(a1, ..., a ) = ((1, r1 ),
(2, r2 ), ..., (q, ) where the integer rg is obtained as follows: Look
at the first 100s digits of (a-, ..., a„ ). Let po be the proportion of
th
digits that are 1*s. Let r be the s digit in the binary expansion of
s
the number p . q is the greatest s such that 100 < n. A construction
similar to this is used in the proof of part of Theorem 1.
Although the action of a machine is defined only for finite input
sequences, it Is clear what one of our machines would do if it were fed an
infinite input sequence A = (a1, a2, a^, ...) and had available an infinite
output tape on which it could print. Its action is determined by the fact
that we know what its output will be for all finite input sequences. Thus