I need to know a good way to compute the following without actually doing the math. I know there is a cool trick you can use without having to compute values, but I can't remember!
(x^y) mod m
This is easy for small numbers, but for stuff like 20^105 % 48 it becomes ugly.
Can someone help? Thanks!
Scott
			
			(x^y) mod m
This is easy for small numbers, but for stuff like 20^105 % 48 it becomes ugly.
Can someone help? Thanks!
Scott
 
				
		 
			 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		
 Facebook
Facebook Twitter
Twitter