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

  • Thread starter Thread starter MAXIM LI
  • Start date Start date
  • Tags Tags
    Factorial
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?
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top