FCTRL logic help

i dont realy understand the logic behind the problem (i think it’s probably because of my lack of knowledge in number theory) like why do we divide by 5 and all

Check out this page :slight_smile: should clear your doubts

Thank you so much for taking the time to answer! :slight_smile: and yes it helped alot :smiley: