Why the formula given in the answer here tells us that this group must be cyclic?
A group of order 561 is cyclic.
Here is the answer there:
In general, there is only one group of order $n$ iff gcd$(n,\varphi(n))=1$. Of course such a group must be necessarily cyclic. 561 satisfies the condition.