example of factor theorem - Search