Exercise

In which polynomial ring do we have the equality of ideals ({2, X}) = (2)?

Z/4Z/[X]      Z[X]      Q[X]