Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

#1: Initial revision by user avatar Moshi‭ · 2022-09-24T17:56:37Z (about 2 years ago)
There is a fairly simple proof by induction.

Base case: $n = 1$

$$25^1\equiv 25 \mod 100$$

Inductive case: Assuming $25^n\equiv 25 \mod 100$,

<p>
$$
\begin{align}
25^{n+1}&\equiv 25\cdot 25^n \mod 100\\
&\equiv 25 \cdot 25 \\
&\equiv 625 \\
&\equiv 25
\end{align}
$$
</p>

Actually, this proof can easily be extended to show the stronger statement that $5^n\equiv 25\mod 100$ for all natural numbers $n\ge2$

Base case: $n=2$

$$5^2\equiv25\mod100$$

Inductive case: Assuming $5^n\equiv 25 \mod 100$,

<p>
$$
\begin{align}
5^{n+1}&\equiv 5\cdot 5^n \mod 100\\
&\equiv 5 \cdot 25 \\
&\equiv 125 \\
&\equiv 25
\end{align}
$$
</p>

The case with powers of $25$ then simply comes from the case when $n$ is even.