Finding the Last Non-Zero Digit of a Repeated Factorial Expression

  • Thread starter Thread starter MAXIM LI
  • Start date Start date
  • Tags Tags
    Factorial
Click For Summary
The discussion focuses on finding the last non-zero digit of a repeated factorial expression, specifically $$2018\underset{! \text{ occurs }1009\text{ times}}{\underbrace{!)!)!\dots)!}$$. The participant notes that the last non-zero digit of ##2018!## is ##4## but is unsure how to apply this information in the context of multiple factorials. They question whether the fact that ##1009## is half of ##2018## is significant and ponder the implications if ##1009## were a different number, like ##1234##. The conversation seeks assistance in calculating the last non-zero digit in this complex factorial scenario. Further insights or methods for approaching this problem are requested.
MAXIM LI
Messages
6
Reaction score
2
Homework Statement
$$(\dots((2018\underset{! \text{ occurs }1009\text{ times}}{\underbrace{!)!)!\dots)!}}$$?
Relevant Equations
$$(\dots((2018\underset{! \text{ occurs }1009\text{ times}}{\underbrace{!)!)!\dots)!}}$$?
Without using computer programs, can we find the last non-zero digit of $$(\dots((2018\underset{! \text{ occurs }1009\text{ times}}{\underbrace{!)!)!\dots)!}}$$?

What I know is that the last non-zero digit of ##2018!## is ##4##, but I do not know what to do with that ##4##.

Is it useful that ##!## occurs ##1009## times where ##1009## is half of ##2018##? If that is useful, then what if ##1009## was another value, say ##1234##?

Any help will be appreciated. THANKS!
 
Physics news on Phys.org
MAXIM LI said:
What I know is that the last non-zero digit of ##2018!## is ##4##, but I do not know what to do with that ##4##.
How do you calculate that?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
65
Views
7K
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K