Magnetoresistance of n-AlGaAs/GaAs two-dimensional electron gas thin wire