The way I remember NPK on fertilizer is Up, Down and all around.
N works on the growing part of the plant above ground. With corn after it's about a foot tall it craves N.
Phosphorus (P) works for health of the roots. Tubes such as carrots, beets, potatoes, are high phosphorus users...