Ask Your Question

Revision history [back]

check if coefficients of a polynomial are divisible by a number

I would like to make a program that take as an entry a given integer coefficient polynomial and check if the coefficients of this polynomial are all divisible by a given number n.
How could I do it ?
(sorry if the question is stupid but I could not do it in python and I discovered SageMath and it looked like it was kind of easier to do it with it)