In a double slit experiment the distance between the slits is d. The screen is at a distance D from the slits. The order of the fringe which appears opposite to the slit on the screen is
The position of the bright fringe is opposite to the slit, hence must be equal to integral multiple of the fringe width
.