I am trying to understand the following claim; that if I have some principle ideal of F[x] generated by some irreducible polynomial p(x), and I consider another polynomial a(x) which is not a member of the ideal, that p(x) and a(x) are relatively prime, i.e. the only common divisor of the two is a constant polynomial.
What I understand that if a(x) is not a member of the ideal generated by p(x), then a(x) is not of the form p(x)s(x) for any s(x) in F[x]. How does this idea continue to show that the GCD of a(x) ad p(x) is 1?