- #1

- 143

- 0

I know how to calculate the number of trailing zeros, but don't know what to do afterwards. This is a computational problem.

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter PhDorBust
- Start date

- #1

- 143

- 0

I know how to calculate the number of trailing zeros, but don't know what to do afterwards. This is a computational problem.

- #2

Ray Vickson

Science Advisor

Homework Helper

Dearly Missed

- 10,706

- 1,722

I know how to calculate the number of trailing zeros, but don't know what to do afterwards. This is a computational problem.

One trillion could be either 10^12 or 10^18, depending on where you reside. Which one do you mean? See http://en.wikipedia.org/wiki/Trillion .

RGV

- #3

- 143

- 0

10^12, sorry.

Should it make a difference though?

Should it make a difference though?

- #4

SammyS

Staff Emeritus

Science Advisor

Homework Helper

Gold Member

- 11,518

- 1,123

10^12, sorry.

Should it make a difference though?

It will make a huge difference. But, it may not make a difference in the final 5 non-zero digits.

Do you know how many trailing zeros there are in (10

Last edited:

- #5

- 143

- 0

Number of trailing zeros will be N = a/5 + a/(5^2) + a/(5^3) + ... a/(5^n) = a/(5^n) * (1 + 5 + 5^2 + ... + 5^(n-1) ) = a/(5^n) * [ 5^n - 1] / [5 - 1].

But (10^12)! / 10^N is still pretty damn large to calculate. I don't see the next step.

Share: