Some properties of the diffusion-limited reaction nA + mB → C with homogeneous and inhomogeneous initial conditions