Hi, I was trying to do this question and I understand how the function is computable but I don't know how I'm supposed to write it down to show that it is. When I looked at the mark scheme it just gave a brief explanation about the question in 1-2 sentences. Could someone tell me how can i write it down to show that the function is computable?
Question:
Assume that we have an enumerated list of computable functions: f0, f1, f2, ..., fi, ... Show that the following function is computable: h(x) = 1, if fx halts on input x, otherwise loops forever.