This problem needs to have its description fixed. It should be "Is the polynomial represented by (v/w) an integer for any integer x except for the roots of w? if the integer x is a root of w, we will have a NaN, which is the case for the test case #1 and the value x=1 for instance.
962 Solvers
Equidistant numbers containing certain value in an interval
83 Solvers
120 Solvers
Put Two 1D matrices into one 1D matrix
110 Solvers
485 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!