I am trying to solving this codechef problem.
I am stuck in the theoretical mathematics part of it.
The editorial explains some equations which i am unable to understand.
Can somebody please explain me how these equations are formed and worked along and where does this algebraic representation of pascal triangle come from?
Any help is appreciated.