Is $$1/(X^n - 1), n \in N$$ a polynomial?
Intuitively I would say yes, because 1 is a polynomial($ X^0$) and so is $X^n - 1$. But Sage (The CAS) appears to disagree, when I type the expression in and call the function is_polynomial() I get False. Can somebody explain why this expression isn't a polynomial?
Polynomials in $x$ are defined as a finite sum of terms of the form $ax^n$. $a$ is restricted to some set like the integers, rationals, reals, integers $\bmod $ something, complex numbers. $n$ is restricted to the nonnegative integers. Rational functions of polynomials do not count, so Sage is correct.