- #1
Kartik.
- 55
- 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 ?
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 ?