Hi,
I'm new here. First, I wanted to say thank you to everyone for all of the awesome questions and explanations throughout the forum.
Second, here are my explanations for the three questions that have been posted.
R{x/y} represents remainder of x divided by y.
R{(ab)/y} = R{ (R{a/y}*R{b/y}) / y} <---- I found this on one of the forum posts.
Therefore, R{(a^c)/y} = R{(R{a/y}^c) / y} <---- I used a nested version of this on all three problems.
Problem 1)
R{32^(32^32)/7}
= R{(R{(R{32/7}^32) / 7}^32) / 7} <-------- R{32/7} = 4
= R{(R{( 4 ^32) / 7}^32) / 7} <-------- R{(4^32)/7} = 2, (R cycles 4,2,1,4,2,1...)
= R{( 2 ^32) / 7} <-------- R{(2^32)/7} = 4, (R cycles, 2,4,1,2,4,1...)
= 4
Problem 2)
R{32^(32^32)/9}
= R{(R{(R{32/9}^32) / 9}^32) / 9} <-------- R{32/9} = 5
= R{(R{( 5 ^32) / 9}^32) / 9} <-------- R{(5^32)/9} = 7, (R cycles 5,7,8,4,2,1,5...)
= R{( 7 ^32) / 9} <-------- R{(7^32)/9} = 4, (R cycles, 7,4,1,7,4,1...)
= 4
Problem 3)
R{11^(11^(11^(11^(11...etc))))/4}
= R{(R{(R{11/4}^11) / 4}^11....etc.) / 4} <-------- R{11/4} = 3
= R{(R{( 3 ^11) / 3}^11....etc.) / 4} <-------- R{(3^11)/4} = 3, (R cycles 3,1,3,1...)
= R{( 3 ^11....etc.) / 4} <-------- R{(3^11)/4} = 3, (R cycles, 3,1,3,1...)
= 3