- #36
HallsofIvy
Science Advisor
Homework Helper
- 42,988
- 981
Now you are just guessing. The critical point is that [itex]10^{998}= (5^{998})(2^{998})[/itex]. That means that [itex]5^n[/itex] is a factor for every n from 0 to 998. But it also means that [itex]2^n[/itex], for n= 0 to 99 is also a factor. That's 2(999) right there, and and we haven't even started combining "2"s and "5"s.
One way to look at it is this: there are 999 ways to find factors using only "5"s and there are 999 ways using only "2"s. And the "fundamental theorem of counting" says that the if there are m ways of doing one thing and n ways of doing another (independently of the first) then there are mn ways of doing both.
One way to look at it is this: there are 999 ways to find factors using only "5"s and there are 999 ways using only "2"s. And the "fundamental theorem of counting" says that the if there are m ways of doing one thing and n ways of doing another (independently of the first) then there are mn ways of doing both.