A good day to everyone. Very lately I am being involved into some work where my mathematical abilities and logical thinking are put on a test. Some things are new, others are formulated through net researches, and some are learned from some genius people around me. Firstly, I would...