When interpreting keys as natural numbers we can use the following formula.
\begin{equation} h(k) = \lfloor m (kA\bmod{1}) \rfloor \end{equation}
What I am having trouble understanding is how we choose the value of A where:
\begin{equation} 0 < A < 1 \end{equation}
According to Knuth an optimal value is:
\begin{equation} A \thickapprox (\sqrt{5} - 1) / 2 = 0.6180339887... \end{equation}
So my question is how did Knuth come to this and how could I calculate an optimum value for my specific data?