I've always understood that to avoid algae you should look to cover at least 80% of the footprint with plants.
I have never heard to equating plants per gallon ?
I never heard of such a rule also. If you want to get rid of algae, you need to find out what type of algae you have, WPG (lighting), fertilizers used, water parameters, etc.