As I said in the other thread, you can use the rational root theorem to

identify potential rational roots which would correspond to factors with

rational nubers in them. This is not guaranteed to work because

there is no guarantee that a general cubic has any rational roots.

RonL