I am using constraint logic programming and I want to output a list with the product of the list (excluding the first element) is equal to the first element. For example,
[24 6 _ _] the output would be [24 6 1 4] or [24 6 4 1] or [24 6 2 2] etc.
I am trying to solve something similar to sudoku but I am stuck on this step.