it could be nitrogen as well, but try the mg first by reading and following the instructions i pasted below. Give a few days and see if the symptoms improve or not.
If they don't then do a complete flush of your res, and refill with distilled water. Then add your nutes to your rez making to sure follow the instructions for the nutes carefully and to the letter.
Magnesium (Mg)
Magnesium is a component of the chlorophyll molecule and serves as a cofactor in most enzymes.
Magnesium (Mg) deficiency:
Magnesium deficiency will exhibit a yellowing (which may turn brown) and interveinal chlorosis beginning in the older leaves. The older leaves will be the first to develop interveinal chlorosis. Starting at leaf margin or tip and progressing inward between the veins. Notice how the veins remain somewhat green though as can be seen in figure 15.
Notice how in figure 16 and 17 the leaves curl upwards like they're praying? They're praying for Mg! The tips may also twist.
This can be quickly resolved by watering with 1 tablespoon Epsom salts/gallon of water. Until you can correct nutrient lockout, try foliar feeding. That way the plants get all the nitrogen and Mg they need. The plants can be foliar feed at ½ teaspoon/quart of Epsom salts (first powdered and dissolved in some hot water). When mixing up soil, use 2 teaspoon dolomite lime per gallon of soil.
If the starting water is above 200 ppm, that is pretty hard water, that will lock out mg with all of the calcium in the water. Either add a 1/4 teaspoon per gallon of epsom salts or lime (both will effectively reduce the lockout or invest into a reverse osmosis water filter.
Mg can get locked-up by too much Ca, Cl or ammonium nitrogen. Don't overdo Mg or you'll lock up other nutrients.