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.
Project Euler: Problem 2, Sum of even Fibonacci
869 Solvers
235 Solvers
Calculate the area of a triangle between three points
927 Solvers
82 Solvers
Multiples of a Number in a Given Range
222 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!