The motivation behind this question is to find an explicit example of a family of polynomials of degree $n$ whose Galois group over $\mathbb{Q}$ is the symmetric group $S_n$.
I thought that $f_n=x^n-x+1$ would fit the bill. Although the answer is no in general, it is not so bad; here is the guess (conjecture seems a little too much):
A. For $n>2$, $f_n$ is irreducible over $\mathbb{Q}[x]$ iff $n\not\equiv 2 \pmod{6}$. In that case, $\mathrm{Gal}(f_n,\mathbb{Q})=S_n$.
The case $n=6r+2$ leads us to another family with similar properties. Set $h=x^6+x^5-x^3-x^2$ and let $g_{r}=h\cdot(x^{6(r-1)}+x^{6(r-2)}+\cdots+x^6+1)+1$ for $r\geq 1$. Notice that $g_r$ has degree $6r$. Here are the first two: $$ g_1=x^6+x^5-x^3-x^2+1, \qquad g_2 = x^{12}+x^{11}-x^9-x^8+x^6+x^5-x^3-x^2+1. $$ These polynomials come from the factorization $f_{6r+2}=(x^2-x+1)\cdot g_r$. Then we have another guess:
B. For $r>1$, $g_r$ is irreducible over $\mathbb{Q}[x]$ and $\mathrm{Gal}(g_r,\mathbb{Q})=S_{6r}$.
The main interest is A. Anyhow: Is A or B known? Any reason why this should be true?
Using SAGE, I was able to verify that A holds for $n\leq 11$ and B holds for $r=1$.
Thanks in advance.