Model calculation of the density of states of dilute alloys