I saw this example in a textbook and a statement saying that this algorithm cannot be used for the forward direction of a proof that proves a language is Turing recognisable iff some enumerator enumerates it.
$s_1, s_2$ ... is a list of strings over Σ*
E = Ignore the input.
- Repeat the following for i = 1, 2, 3, ...
- Run M on $s_i$
- If it accepts, print out $s_i$
I know it's to do with step 2 but I'm not sure how that changes things.