We investigate a family of Diophantine polynomial equations which involve continuant functions. In particular, given a polynomial P (x) ∈ Z[x] and n ∈ N, we consider the equation). We show that with certain restrictions on P (x) the set of its solutions has a rich structure. In particular, we provide several ways of generating new solutions from the existing ones.In the last section we discuss the relation between the solutions of the above Diophantine equation for arbitrary values of n and factorisations P (m) = d 1 d 2 for integers m, d 1 and d 2 .