- 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
There are a number of homomorphisms from $\Bbb Z_{63}$ to $\Bbb Z_{147}. $
As usual since $\Bbb Z_{63}$ is cyclic, each is determined by $h (1).$
The only requirement is that $\mid h (1)\mid\mid63.$
A cyclic group has one cyclic subgroup of every order dividing its order. There's $\varphi (7)=6$ generators for the subgroup of order $7$ in $\Bbb Z_{147}.$
Defining $h(1)$ to be any of these six gives different homomorphisms with image order $7.$
For an image size $m$, there's $\varphi (m)$ generators to choose from, where $\varphi $ is Euler's phi function.
Any of the mutual divisors of $147$ and $63$ is a possibility. So, $m=1,3,7,$ or $21.$
The number of homomorphisms in each case is $1,2,6$ or $12.$