Using quantities calculated in step \(1\), the algorithm now searches for a non-negative integer \(d\) using
Where in the above \(e_c \in E_c\), \(e_\infty \in E_\infty \) \(n\) is any of \(\{4,6,12\}\) values. If non-negative \(d\) is found, then
The sum above is over all families of \(\{e_\infty ,e_c\}\) which generated the non-negative integer \(d\). Next define
The product above is over families of \(\{e_\infty ,e_c\}\) which generated the non-negative integer \(d\). If no non-negative integer \(d\) is found, then no Liouvillian solution exists.