Need help in Intersting Math Problem (SWERC - 2019-20)
Difference between en1 and en2, changed 77 character(s)
Hi, I was trying to solve this [problem:102501H].↵
I tried to find a pattern but couldn't due to the large constraints.↵
The editorial claims that we need to find the Period of the sequence but I am unable to do so.↵
Any help / suggestions are welcome. 


![ ](/predownloaded/09/36/0936b1f89a2724f9db4ef032a50e4cbe75d8ebab.png)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mujtaba1747 2020-05-05 21:20:58 77 Tiny change: ' welcome. ' -> ' welcome. \n\n![ ](https://codeforces.com/4f32ee/cfb.png)'
en1 English mujtaba1747 2020-05-05 21:20:03 307 Initial revision (published)