If the system of equations x+ky−z=0,3x−ky−z=0 and x−3y+z=0, has non-zero solution, then k is equal to