I was reading the corollary;
Let $\varphi :G\rightarrow G'$ be a homomorphism of finite groups. Then $$|G|=|\ker \varphi| \cdot |\text{im}\space \varphi|$$
Then I suddenly remember one of my 6-th or 7-th grade formula
Let $a,b\in \mathbb{N}$, then $$a \cdot b=\gcd (a,b) \cdot\text{lcm} (a,b)$$
Are these two result really related!! If so then what is $\varphi$ here?