I do not know much about group theory, so sorry in case this question is not for MO. For a finite group $G$, denote by $f(G)$ the number of elements of the automorphism group of $G$.
Question: For which $n$ is there a unique group with $n$ elements such that $f(G)$ is minimal among all groups with n elements? What is the sequence $a_n$ giving the minimal $f(G)$ for a given $n$.
For $n \leq 63$ (except $n=32$ which has too many groups for my computer it seems and I was not able to finish the calculation with GAP. Ill try it after the holidays with a better computer) it was true that there is a unique such group namely $G=Z/Zn$, so $a_n$ is the Euler totient function $\phi(n)$ for those values.
This suggests the following question:
Question: Do we have $f(G) \geq \phi(n)$ in case $G$ has $n$ elements?