• A little help needed.

Question related to mission Super Root

 

Is it possible to solve this problem using only math, or should I use some brute force method? I've been thinking about a solution, that uses logarithms. Task description says however that this concept can be used in cryptography, and it makes me wonder if I should use a brute force method instead?