Using quantities calculated in step \(1\), the algorithm now searches for a non-negative integer \(d\) using
If non-negative \(d\) is found, a candidate \(\omega _{d}\) is calculated using
If no non-negative integer \(d\) could be found, then no Liouvillian solution exists using this case. Case two or three are tried next if these are available.