I don't know if this is a trivial question. But because I lack some background I would need advise or a reference. I have an $n$-variate polynomial over $\mathbb Q$, say $f$, and I am interested in finding a maximal permutation subgroup $G$ of $S_n$ such that $f$ is $G$-invariant. How do I find this?
I could of course find $G$ by method of exhaustion (just look at all subgroups of $S_n$), but I feel a more efficient techniques in invariant-theory would help me find this $G$. I am actually more interested in the order of $G$ or some (non-trivial) lower and upper bound depending on $f$ (some kind of a formula depending on the coefficients in $f$). I would also be interested in any sort of reference that could help me with this. People seem to be more interested in the reverse question, i.e. given $G$ find all polynomials that are $G$-invariant.
Edit: I just realized that there is a partial answer to this question.