Well I had come across a problem where I have to solve the below equation . Is there any direct relation like f(k,r) = n ? How to find n for given value of k and r ?
$$ 7^{n}\equiv r \pmod{10^k} \,. $$
Well I had come across a problem where I have to solve the below equation . Is there any direct relation like f(k,r) = n ? How to find n for given value of k and r ?
$$ 7^{n}\equiv r \pmod{10^k} \,. $$