Given:
\(x = 12^{50}, \quad y = 18^{50}\)
We want to calculate \(x+y \mod 25\)
Calculate \(12^{50} \mod 25\):
\(12^2 = 144 \equiv 19 \mod 25\)
\(12^4 = (12^2)^2 \equiv 19^2 = 361 \equiv 11 \mod 25\)
\(12^8 = (12^4)^2 \equiv 11^2 = 121 \equiv 21 \mod 25\)
\(12^{16} = (12^8)^2 \equiv 21^2 = 441 \equiv 16 \mod 25\)
\(12^{32} = (12^{16})^2 \equiv 16^2 = 256 \equiv 6 \mod 25\)
\(12^{50} = 12^{32} \cdot 12^{16} \cdot 12^2 \equiv 6 \cdot 16 \cdot 19 \mod 25\)
\(6 \cdot 16 = 96 \equiv 21 \mod 25\)
\(21 \cdot 19 = 399 \equiv 24 \mod 25\)
So, \(12^{50} \equiv 24 \mod 25\)
Calculate \(18^{50} \mod 25\):
\(18^2 = 324 \equiv 24 \mod 25\)
\(18^4 = (18^2)^2 \equiv 24^2 = 576 \equiv 1 \mod 25\)
\(18^8 = (18^4)^2 \equiv 1^2 = 1 \mod 25\)
\(18^{16} = (18^8)^2 \equiv 1^2 = 1 \mod 25\)
\(18^{32} = (18^{16})^2 \equiv 1^2 = 1 \mod 25\)
\(18^{50} = 18^{32} \cdot 18^{16} \cdot 18^2 \equiv 1 \cdot 1 \cdot 24 \mod 25\)
\(1 \cdot 24 = 24 \mod 25\)
Therefore, \(x + y \equiv 24 + 24 \equiv 48 \equiv 23 \mod 25\)
So, the remainder obtained when x+y is divided by 25 is 23.
So, the answer is 23
A function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. Let A & B be any two non-empty sets, mapping from A to B will be a function only when every element in set A has one end only one image in set B.
The different types of functions are -
One to One Function: When elements of set A have a separate component of set B, we can determine that it is a one-to-one function. Besides, you can also call it injective.
Many to One Function: As the name suggests, here more than two elements in set A are mapped with one element in set B.
Moreover, if it happens that all the elements in set B have pre-images in set A, it is called an onto function or surjective function.
Also, if a function is both one-to-one and onto function, it is known as a bijective. This means, that all the elements of A are mapped with separate elements in B, and A holds a pre-image of elements of B.
Read More: Relations and Functions