×
Chargement en cours

123!’s Zeroes Trick #shorts

2 membres

You can determine the number of trailing zeroes on a factorial of ANY size with a pretty simple trick that involves dividing by powers of 5. First, you can do it the hard way, and multiple every number of x! (x * (x - 1) * (x - 2)...) until you're multiplying by 1 at the end, and then just count up the zeroes. Or... you can do it the smart way.

Divide your original number by 5, then 5^2, then 5^3, and when you've got a fractional value, stop and add up the rounded-down whole numbers. And BAM! That's how many trailing zeroes x! has. It really is that easy, even for a 206-digit number like 123!

#shorts

Prochain épisode
S01E423 - The Mathematical Recipe for Pi(e) #shorts
Voir l'épisode

Épisodes

Séries similaires (10)

Vsauce3
Vsauce3
Vsauce
Vsauce
D!NG
D!NG
Mind Blow
Mind Blow
Mathologer
Mathologer
REACT
REACT
SciShow
SciShow
=3
=3
Reactions
Reactions
colinfurze
colinfurze