$f(x)=x(x^{2}-4)^{n}(x^{2}-x+1),n\in N$ assumes a local minima at $x=2$, the $n$ has to be :
a) Even number
b) Odd number
c) Prime number
d) a Multipe of 4
Please help with this
I found $$f'(x)=(3x^{2}-2x+1)(x^{2}-4)^{n}+n(x^{2}-4)^{n-1}(x^{3}-x^{2}+x)=0$$
Any help on how to proceed will be highly appreciated.

$f(x)=x(x^2 - 4)^n (x^2 - x + 1)\quad (n\in N)$
$\text{$n$ even} \implies \begin{array}{|c|c|c|c|} \hline \text{function} & x=2-\epsilon & x=2 & x=2+\epsilon \\ \hline x & + & 2 & + \\ \hline (x^2-4)^n & + & 0 & + \\ \hline x^2-x+1 & + & 3 & + \\ \hline f(x) & + & 0 & + \\ \hline \end{array}$
$\text{$n$ odd} \implies \begin{array}{|c|c|c|c|} \hline \text{function} & x=2-\epsilon & x=2 & x=2+\epsilon \\ \hline x & + & 2 & + \\ \hline (x^2-4)^n & - & 0 & + \\ \hline x^2-x+1 & + & 3 & + \\ \hline f(x) & - & 0 & + \\ \hline \end{array}$
So $n$ needs to be even.