Hackerearth may circuits question consecutive remainders

Revision en1, by kingside, 2017-05-29 14:36:10

Hello,I am unable to understand how to solve the question mentioned here Your text to link here.... I think it is related to the primitive roots but unable to find a way to solve it. Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English kingside 2017-05-29 14:36:10 408 Initial revision (published)