If (1+ω2)m=(1+ω4)m, where ω is an imaginary cube root of unity, then least positive integral value of m is: