The converse statement follows from (1.4). We prove the direct.
Since G is nilpotent, it can be written as the direct product of its Sylow p-subgroups:
G=G_1\times G_2\times \dots\times G_k
where |G_i|=p_i^{n_i}, for all i\in\{1,2,\dots,k\}. Since the function D is multiplicative, it follows that:
D(G)=\prod_{i=1}^k D(G_i).
Thus, we get
\prod_{i=1}^k D(G_i)=2\prod_{i=1}^k |G_i|+1.
We assume, by contradiction, that G_1 is not cyclic. It follows that n_1\geq 2. In addition, the final theorem from [Miler] states that the number of subgroups of index p_1 is congruent to 1+p_1\pmod{p_1^2}; in particular, it is greater or equal to 1+p_1. These subgroups are normal, so D(G)\geq 1+p_1^{\alpha_1}+(p_1+1)p_1^{\alpha_1-1}. It follows that:
\delta(G_1)\geq \frac{1+p_1^{n_1}+(p_1+1)p_1^{n_1-1}}{p_1^{n_1}}=2+\frac{1}{p_1}+\frac{1}{p_1^{n_1}}\,.
Since G is quasi-Leinster and \delta is multiplicative, it follows that
\begin{aligned}
2+\frac{1}{p_1^{n_1}\dots p_k^{n_k}}=\delta(G)&= \delta(G_1)\dots\delta(G_k)\\&\geq \left(2+\frac{1}{p_1}+\frac{1}{p_1^{n_1}}\right)\left(1+\frac{1}{p_2^{n_2}}\right)\dots\left(1+\frac{1}{p_k^{n_k}}\right)\\
&>2+\frac{1}{p_1^{n_1}\dots p_k^{n_k}}\,,
\end{aligned}
a contradiction. Thus G_1 is cyclic. Analogously, all G_i, i=2,\dots,k, are cyclic and therefore G is cyclic.