In the paper 'Nilpotent Numbers' by Pakianathan and Shankar (http://www2.math.ou.edu/~shankar/papers/nil2.pdf), it was proven that every group of order $n$ is nilpotent if and only if $p^k\not\equiv 1\mod q$ whenever $p,q$ are distinct primes with $p^k$ and $q$ dividing $n$. I am interested in finding conditions on $n$ such that every group of order $n$ is nilpotent of class at most $c$; has there been any work on this problem already?
(At least the case of $c=1$ has been done, as these are the abelian numbers.)