find the remaimder when 5^2 is divided by 7. The first and the last answer

1) remainder = 4
2) remainder is undefined
Explanation:
1) 5²/7
[tex]\begin{gathered} =\text{ }\frac{25}{7} \\ =\text{ 3}\frac{4}{7} \\ \text{reamainder = 4} \end{gathered}[/tex]2) (5^2005)/7
[tex]\begin{gathered} =\text{ }\frac{5^{2005}}{7}=\text{ }\frac{\infty}{7} \\ \text{SInce we can't divide infinity by 7, the remainder is undefined} \end{gathered}[/tex]