Trailing zero
Wikipedia, the free encyclopedia - Cite This SourceIn mathematics, trailing zeros are a sequence of 0s in the decimal representation (or more generally, in any positional representation) of a number, after which no other digits follow.
Trailing zeros to the right of a decimal point, as in 12.3400, do not affect the value of a number and may be omitted if all that is of interest is its numerical value. This is true even if the zeros recur infinitely. However, trailing zeros may be useful for indicating the number of significant figures, for example in a measurement. In such a context, "simplifying" a number by removing trailing zeros is incorrect.
The number of trailing zeros in a base-b integer n equals the exponent of the highest power of b that divides n. For example, 14000 has three trailing zeros and is therefore divisible by 1000 = 103. This property is useful when looking for small factors in integer factorization. Binary numbers with many trailing zero bits are handled similarly in computer arithmetic.
Factorial
The number of trailing zeros in the decimal representation of n!, the factorial of a non-negative integer n, can be determined with this formula:For example, 53 > 32, and therefore 32! = 263130836933693530167218012160000000 ends in
The formula actually counts the number of factors 5 in n!, but since there are at least as many factors 2, this is equal to the number of factors 10, each of which gives one more trailing zero.
Defining
References
External links
- Why are trailing fractional zeros important? for some examples of when trailing zeros are significant
- Mu and Trailing Zero – a case where trailing zeros are deprecated.
Wikipedia, the free encyclopedia © 2001-2006 Wikipedia contributors (Disclaimer)
This article is licensed under the GNU Free Documentation License.
Last updated on Monday May 19, 2008 at 11:51:33 PDT (GMT -0700)
View this article at Wikipedia.org - Edit this article at Wikipedia.org - Donate to the Wikimedia Foundation