Counting Zeros in the Product of Natural Numbers up to 1962!

  • Thread starter Thread starter Kartik.
  • Start date Start date
  • Tags Tags
    Count
AI Thread Summary
To determine the number of trailing zeros in 1962!, the focus is on counting the factors of 5 in the product of natural numbers up to 1962, as there are always more factors of 2 than 5. The formula to calculate this is the sum of the integer divisions of 1962 by powers of 5, specifically ∑(1962/5^n) for n starting from 1. This results in a total of 488 trailing zeros, derived from the contributions of multiples of 5, 25, and 125. The calculation confirms that the number of trailing zeros in 1962! is 488.
Kartik.
Messages
55
Reaction score
1
Question- How many zeros are there in the product of all the natural numbers right from 1 to 1962 or in short in 1962! ?

Attempt-
Well,
The product as a product of prime numbers, will denoted as -
Let the product be N,

N = 2a1 . 3a2 . 5a3 . ... pax


As far as i see it we will have to count the number of 5s and 2s that occur in the product N's representation above and also the factors which will yield 5s or 2s.So by far we are concerned only to the numbers a1 and a3.And here lies my problem, how will we calculate the number of occurrences and also figure out that how many other factors will yield how many 5s or 2s ?
 
Mathematics news on Phys.org
You only need to calculate a3, the value of a1 is not needed for the answer (of course you should figure out why)

To figure out what a3 is, it might help to first reason how you could calculate the number of times 5 divides a smaller number like 100! (where you can calculate this by hand) and then see how you would extend the result
 
The number of 2's is obviously greater than the number of 5's, so there's always a 2 for each 5 to give a 10, and that reduces your work by half :wink: Now, the total number of 5's in any given number will be equal to the number of times it can be divided by 5. But, there are some terms which have two 5's, meaning they are multiples of 25. Here you need not count the one's you already got due to division by 5. Next would be 5*5*5, that's 125 and so on. Hope this gives you an idea.
 
Kartik. said:
Question- How many zeros are there in the product of all the natural numbers right from 1 to 1962 or in short in 1962! ?

Attempt-
Well,
The product as a product of prime numbers, will denoted as -
Let the product be N,

N = 2a1 . 3a2 . 5a3 . ... pax


As far as i see it we will have to count the number of 5s and 2s that occur in the product N's representation above and also the factors which will yield 5s or 2s.So by far we are concerned only to the numbers a1 and a3.And here lies my problem, how will we calculate the number of occurrences and also figure out that how many other factors will yield how many 5s or 2s ?




As the number of 2's is clearly way larger than that of 5's, all you've to do is calculate what's the highest power of

5 that divides \,\,1962!\,\,, which is given by \displaystyle{\sum_{n=1}^\infty\left[\frac{1962}{5^n}\right]} with \,\,[x]=\,\, the integer part of the real number x (why is this formula true and why is the above a finite sum?)


BTW, and if you're interested, the number is \,\,488 = 392+78+15+3

DonAntonio
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...

Similar threads

Back
Top