copilotfactorization using factor theorem - Search