Let $k$ be a field of characteristic zero and $f \in k[x]\setminus\{0\}$.
Let $R_f=k+\langle f \rangle$.
Question 1: Is it possible to find a general form of $f \in k[x]\setminus\{0\}$ such that $R_f$ is a UFD?
For example, $R_{x^2}=k+\langle x^2 \rangle=k[x^2,x^3]$ is not a UFD: $x \notin R_f$ and $x^6=x^2x^2x^2=x^3x^3$.
Is it true that for $f$ separable (has different roots), $R_f$ is a UFD? Probably not? What about $g=x+x^2$? $h=x^2-1$?
Question 2: Similar question for the two-dimensional case, namely, when $S_{f,y}=k+\langle f,y \rangle \subseteq k[x,y]$ is a UFD?
'Again', $S_{x^2,y}=k+ \langle x^2,y \rangle= k[x^2,x^3,y]$ is not a UFD.
Thank you very much!