When talking about the element "1" , you mean the unit element of Z[x] right? It doesn't have to be 1 ...
Hmmmm When adding up an element a such as a isn't in (p,f(x)) , that means that:
gcd(p,f(x),a)=1 so we have u,v,w such as ua+vp+wf=Unit element of Z[x]...
Am I right?
If you'll be able to verify my answer it will be great... Afterwards I'll be delighted if you'll be able to answer the folowing questions:
1. Let's take p=5, f(x)=x^3+x+1, a=2 ...
By the statement above, in the ideal that contains a,p and f(x) there are all the polynomials over Z... But how can we create x^2+1 for example by linear combinations of the 3?
2. What is the unit element in Z[x]? If it's the same as the one in Z, So how come it "spans" the whole ring? I mean, if 1 is the unit element in Z[x], so how can we produce every element in Z[x] by multiplications of 1?
Thanks a lot man!