- Solution is apparently 6.
Current attempt, although, I am not sure whether this the right approach:
Let $f(x):=x$. We require $f(63)=63x\equiv 0 \mod 147$; that is, $63x=147k\iff 7\mid x$. So we have 21 distinct homomorphisms.
If we consider a few, say,
$f_7(a)=7a\in \mathbb Z_{147}\implies |img(f_7)|=\lfloor \frac{147}{7}\rfloor =21$,
$f_{14}(a)=14a\in \mathbb Z_{147}\implies |img(f_{14})|=\lfloor \frac{147}{14}\rfloor =10$,
$\vdots$
$f_{7t}(a)=7ta \implies |img(f_{7t})|=\lfloor \frac{21}{t}\rfloor$ for $t\in\{0,...,20\}$(verify inductively).
Thus, setting $\lfloor \frac{21}{t}\rfloor=7\implies t=3$ as the unique $t$ within our specified range. What other 5 homomorphisms with images of size 7 am I missing? Ideally, I would like a general method for finding any image size