As we know, we can compute $a^b \pmod{n}$ efficiently using Right-to-left binary method Modular exponentiation.
Assume b is a prime number .
Can we compute directly $(a+1)^b\pmod{n}$ using $a^b\pmod{n}$?
Monday, September 10, 2018
Subscribe to:
Post Comments (Atom)
analysis - Injection, making bijection
I have injection $f \colon A \rightarrow B$ and I want to get bijection. Can I just resting codomain to $f(A)$? I know that every function i...
-
Find all integer solutions of $2n \equiv 12 \bmod 19$ So I have re-arranged to: $2x-19y=12$ and by the extended Euclidean Algorithm, I get $...
-
We need to find out the limit of, lim$_{n \to \infty} \sum _{ k =0}^ n \frac{e^{-n}n^k}{k!}$ One can see that $\frac{e^{-n}n^k}{k!}$...
-
Find the limit of the following-$$\lim\limits_{n \to \infty}\frac{2^{-n^2}}{\sum\limits_{k=n+1}^{\infty} 2^{-k^2}}$$ My work: We can see t...
No comments:
Post a Comment