You might be under the illusion that the algorithm is one big equation. You’re wrong. Insta’s algorithm is made of several smaller algorithms, and smaller “signals” based on your interaction in the app. To quote Instagram’s Adam Mosseri, he said:
“We use a variety of algorithms, classifiers, and processes, each with its own purpose.”
Understanding how you can play the algorithm is based on 4 main levels of ranking. Grab a pen and take notes (or at least highlight the important bits.)