- Suppose there is a vector v like [1 0 0 -1], representing polynomial coefficients.
- In this example, the polynimial is 1*x^3+0*x^2+0*x-1 or (x^3-1).
- Suppose there is another vector w like [1 -1].
- In this example, the second polynomial is (x-1).
- If x is any integer then the polynomial represented by (v/w) is integer?
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers60
Suggested Problems
-
Make a random, non-repeating vector.
11170 Solvers
-
1064 Solvers
-
603 Solvers
-
707 Solvers
-
Sum of odd numbers in a matrix
615 Solvers
More from this Author99
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
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.