Let nϵN. If the value of c prescribed in Rolle's theorem for the function f(x)=2x(x−3)n on [0,3] is 34, then n is equal to