We present a theory of resonance oscillations at doubled and tripled frequencies in a pipe open at one end. The boundary condition at the open end is obtained with allowance for the subharmonicity of speed fluctuations at the open end; it does not contain empirical parameters. Quite good qualitative and quantitative coincidence of the theoretical and experiment results is achieved.