Finding last two digits for a large exponentiation

  • Thread starter Thread starter Quadrat
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves finding the last two digits of the expression ##12345^{6789}##, which relates to modular arithmetic, specifically calculating ##12345^{6789} \mod(100)##.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to reason through the properties of numbers ending in 5 and their behavior under exponentiation, questioning the underlying rules and seeking a mathematical explanation.
  • Some participants suggest applying basic modular arithmetic rules to simplify the calculations.
  • Another participant expresses uncertainty about how to leverage previous findings, particularly regarding the modular result of ##12345^2##.
  • Questions arise about the reasoning behind certain conclusions drawn by the original poster.

Discussion Status

The discussion is ongoing, with participants exploring different approaches and questioning assumptions. Some guidance has been offered regarding modular arithmetic, but no consensus or resolution has been reached yet.

Contextual Notes

Participants are navigating the complexities of large exponentiation and modular arithmetic, with a focus on deriving mathematical reasoning rather than relying on external sources.

Quadrat
Messages
62
Reaction score
1

Homework Statement


Find the last two digits in ##12345^{6789}##

Homework Equations


I reckon solving ##12345^{6789} mod(100)## would give the last two digits.

The Attempt at a Solution


I know that any number that ends with a 5 raised to any positive integer will end with a 5. I also know that the ten digit before the five and the exponent affects the outcome. Both being odd results in 75 as the last two digits and all other odd/even combinations of the two will result in 25 being the last two digits. But I cannot find information or a derivation of why this is the case.

Can someone help me on how to solve this congruence and maybe explain why those rules actually apply? I know the answer but I want to be able to present it with solid mathematics rather than "I read it online".

Thanks
 
Physics news on Phys.org
It will be much easier if you start applying some of the basic rules such as a^n = (a-km)^n (mod m), where k is an integer.
 
Well I know that ##12345^2=25 (mod 100)## but I'm having trouble using this to get on with the calculations. I figure there's some easy trick since the exponent is such a ridiculously large number. How do I proceed (if my findings are meaningful that is)?
 
So why do you know that? What argumentation led to it?
 

Similar threads

Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
8K
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K