TITLE: Small automorphism groups of groups
QUESTION [10 upvotes]: 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?

REPLY [9 votes]: The following conjecture is problem 15.43 in The Kourovka Notebook, attributed to M. Deaconescu :

Let $G$ be a finite group of order $n$.
a) Is it true that $|Aut(G)|\geq \varphi (n)$ where $\varphi$ is the Euler function?
b) Is it true that $G$ is cyclic if $|Aut(G)|=\varphi (n)$?

The problem is now in the solved section. In fact J. N. Bray and R. A. Wilson in the paper "On The Orders of Automorphism Groups of Finite Groups" show that $\frac{|Aut(G)|}{\varphi(|G|)}$ can be arbitrarily close to zero. And the same holds if we add the extra restrictions of $G$ being perfect or soluble as shown in "On The Orders of Automorphism Groups of Finite Groups II"
The failure of the conjecture in this strong form (ratio can be arbitrarily close to zero) was shown to hold even when restricting to $p$-groups $G$ by J. González-Sánchez and A. Jaikin-Zapirain in "Finite p-groups with small automorphism group".