Npk, calcium, sulphur and magnesium. The 6 macros make up 99% of all nutrients a plant will use.
The other 7 iirc make up thay last 1% but are none the less vital.
The stems have nutrient highways called xylem and phloem these highways are responsible for traffic.
Nitrogen and potassium both share the same major highways, makes sense being most uses.
During flower in a perfect world you want nitrogen to run out within the soil and the plant to cannibalize pre existing nitrogen elsewhere in the plant.
During flower once there is little need for nitrogen you want that nutrient highway 99% potassium.
Everything other nutrient uses secondary small side channels.
The entire cure is about ridding the plant of as much chloryphyll as possible, true masters dial in their nitrogen content to the gram.
Hope it helps with understanding.