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

#2: Post edited by user avatar Peter Taylor‭ · 2022-10-03T08:24:13Z (about 2 years ago)
Eliminating unhelpful tag algebra-precalculus
#1: Initial revision by user avatar Carefree Explorer‭ · 2022-09-24T14:21:59Z (about 2 years ago)
Show that $\forall n \in \mathbb{Z}^{+}$, $25^n \equiv 25 \bmod{100}$.
 > Show that $\forall n \in \mathbb{Z}^{+}$, $25^n \equiv 25 \bmod{100}$.

This was a simple observation I made when playing around and I came up with the following proof:


 > It follows from $(10a + 25)^2 = 100a^2 + 500a + 625 = 100(a^2 + 5a) + 625$ that any number ending in $25$ raised to a power of $2$ will also end in $25$. As each number has a unique binary representation, every number can be written as a sum of powers of two. By the rule $a^{b + c} = a^b \cdot a^c$ and $ab \bmod {c} = (a \bmod {c}) \cdot (b \bmod {c}) \bmod {c}$, $25^n \mod {100}$ will eventually cascade down to $25 \bmod {100}$. For example, \begin{align}25^{19} \equiv 25^{16 + 2 + 1} \equiv 25^{16} \cdot 25^{2} \cdot 25^{1} \equiv 25 \cdot 25 \cdot 25 \\\\ \equiv 25^{3} \equiv 25^{2 + 1} \equiv 25^2 \cdot 25^1 \equiv 25 \cdot 25 \equiv 25^2 \equiv 25\bmod{100}\end{align}

I am wondering if there are alternate, potentially simpler proofs.