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

  • Thread starter MAXIM LI
  • Start date
  • Tags
    Factorial
  • #1
MAXIM LI
6
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!
 
  • Like
Likes docnet
Physics news on Phys.org
  • #2
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

  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Replies
8
Views
2K
Replies
55
Views
659
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Programming and Computer Science
Replies
4
Views
2K
  • General Math
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
242
  • Math POTW for Secondary and High School Students
Replies
1
Views
1K
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
675
Back
Top