count zeros in a number
- To: mathgroup at smc.vnet.net
- Subject: [mg121789] count zeros in a number
- From: dimitris <dimmechan at yahoo.com>
- Date: Sun, 2 Oct 2011 02:36:47 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
Hello. Consider e.g. the number 24^24*55^55. This number ends with exactly 55 zeros as the following demonstrate In[201]:= Mod[24^24*55^55, 10^55] Mod[24^24*55^55, 10^56] Out[201]= 0 Out[202]= 20000000000000000000000000000000000000000000000000000000 What I want now is a way to count the zeros that a number ends without knowing in advance this number of zeros like in the above example. Thanks in advance. Dimitris
- Follow-Ups:
- Re: count zeros in a number
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: count zeros in a number
- From: Ulrich Arndt <ulrich.arndt@data2knowledge.de>
- Re: count zeros in a number
- From: Andrzej Kozlowski <akozlowski@gmail.com>
- Re: count zeros in a number
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: count zeros in a number
- From: "Harvey P. Dale" <hpd1@nyu.edu>
- Re: count zeros in a number
- From: Gabriel Landi <gtlandi@gmail.com>
- Re: count zeros in a number