What is the Relationship Between Factorials and Unit Digits?

In summary, a factorial is a mathematical operation that multiplies a number by all the numbers below it. The unit digit of a factorial is determined by the last non-zero digit and can help determine the divisibility of the factorial number. However, the unit digit cannot be predicted and the largest possible unit digit is 9.
  • #1
Saitama
4,243
93

Homework Statement


Let ##100!=N\cdot 10^n##. If N is relatively prime with 10 and unit digit of N is d, then n+d is equal to
A)26
B)28
C)30
D)32


Homework Equations





The Attempt at a Solution


I don't think it would be a good idea to expand the factorial and separately write out the factors of 10. I have got no idea about how to approach this problem.

Any help is appreciated. Thanks!
 
Physics news on Phys.org
  • #2
Pranav-Arora said:

Homework Statement


Let ##100!=N\cdot 10^n##. If N is relatively prime with 10 and unit digit of N is d, then n+d is equal to
A)26
B)28
C)30
D)32

Homework Equations


The Attempt at a Solution


I don't think it would be a good idea to expand the factorial and separately write out the factors of 10. I have got no idea about how to approach this problem.

Any help is appreciated. Thanks!

I may not be an expert but can you find index power of 10 in 100! ? You must be knowing the method of finding that. Many good course materials like "Vidyamandir" and RSM illustrate that.
 
Last edited:
  • #3
Pranav-Arora said:

Homework Statement


Let ##100!=N\cdot 10^n##. If N is relatively prime with 10 and unit digit of N is d, then n+d is equal to
A)26
B)28
C)30
D)32

Homework Equations


The Attempt at a Solution


I don't think it would be a good idea to expand the factorial and separately write out the factors of 10. I have got no idea about how to approach this problem.

Any help is appreciated. Thanks!

In 100!, the multiples of 10 are 10,20,30,...,90, 100, so figuring out what power of 10 these produce is easy. Next, look at all the remaining even factors (2,4,6,8,12,...,18,22...,98) and all the remaining multiples of 5 (5,15,25,35,...,95). Some of these combine to give you factors 2*5 = 10, etc.
 
  • #4
Ray Vickson said:
In 100!, the multiples of 10 are 10,20,30,...,90, 100, so figuring out what power of 10 these produce is easy. Next, look at all the remaining even factors (2,4,6,...,98) and all the remaining multiples of 5 (5,15,25,35,...,95). Some of these combine to give you factors 2*5 = 10, etc.

I had thought of this earlier but wouldn't that be a bit tedious? This is a question from my test paper and I suppose there is a easier way. If I go by this method and if I miss even a single factor, I will end up with a wrong answer.
 
  • #5
The numbers from 1-9 produce one zero at the end (2*5). So do the numbers from 11 to 19 (12*15), and so on: 10 zeros.
The product of 10, 20 ... 100 produce 12 zeros. (100 and 20*50 have to extra zeros)

Can you increase the number of zeros further at the end of 100! ?

The remaining numbers are 1,3,46,7,8,9 (mod 10) What is the last number of their product?
edit: 4 has been left out.

You have 10 such groups...

ehild
 
Last edited:
  • #6
ehild said:
The numbers from 1-9 produce one zero at the end (2*5). So do the numbers from 11 to 19 (12*15), and so on: 10 zeros.
The product of 10, 20 ... 100 produce 12 zeros. (100 and 20*50 have to extra zeros)

Can you increase the number of zeros further at the end of 100! ?

The remaining numbers are 1,3,6,7,8,9 (mod 10) What is the last number of their product?

You have 10 such groups...

ehild

From the 10 groups we have 2 zeroes from the groups: 21-29 and 71-79. This gives us a total of 24 zeroes.

The last digit of the product of numbers is 2.
This gives n+d=26.

Thanks a lot ehild! :smile:

EDIT: Woops, the unit digit of product of those numbers is 2. There are 10 groups so the unit digit of N is the unit digit of 2^(10) i.e. 4. Hence, the answer is 28.
 
Last edited:
  • #7
Pranav-Arora said:
From the 10 groups we have 2 zeroes from the groups: 21-29 and 71-79. This gives us a total of 24 zeroes.

The last digit of the product of numbers is 2.
This gives n+d=26.

Thanks a lot ehild! :smile:

EDIT: Woops, the unit digit of product of those numbers is 2. There are 10 groups so the unit digit of N is the unit digit of 2^(10) i.e. 4. Hence, the answer is 28.

I left out 4 from the remaining numbers... So the last digit of the product 1*3*4*6*7*8*9 is 8, but it is -2 mod 10, and its 10th power is 4 mod 10, so the result is the same.

ehild
 
  • #8
ehild said:
I left out 4 from the remaining numbers... So the last digit of the product 1*3*4*6*7*8*9 is 8, but it is -2 mod 10, and its 10th power is 4 mod 10, so the result is the same.

ehild

Thanks once again ehild! :smile:


Although I don't understand that modulo arithmetic notation. :tongue2:
 
  • #9
Pranav-Arora said:
Although I don't understand that modulo arithmetic notation. :tongue2:

4+10k, k integer:biggrin:
 

1. What is a factorial?

A factorial is a mathematical operation that multiplies a number by all the numbers below it. For example, 5 factorial (written as 5!) is equal to 5 x 4 x 3 x 2 x 1 = 120.

2. How is the unit digit of a factorial determined?

The unit digit of a factorial is determined by the last non-zero digit of the factorial. For example, in 7!, the unit digit is 4 because 7 x 6 x 5 x 4 x 3 x 2 x 1 = 5040.

3. What is the significance of the unit digit in factorials?

The unit digit of a factorial can help determine the divisibility of the factorial number. For example, if the unit digit is 0, then the factorial is divisible by 10.

4. Can the unit digit of a factorial be predicted?

No, the unit digit of a factorial cannot be predicted until the factorial is calculated. There is no specific pattern or formula for determining the unit digit.

5. What is the largest possible unit digit in a factorial?

The largest possible unit digit in a factorial is 9. This occurs when the factorial ends in a number that is not divisible by 10. For example, 9! = 362880, so the unit digit is 9.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
1
Views
960
  • Precalculus Mathematics Homework Help
Replies
2
Views
908
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Precalculus Mathematics Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
558
  • Precalculus Mathematics Homework Help
Replies
12
Views
3K
Replies
1
Views
1K
Replies
12
Views
1K
Replies
1
Views
533
Back
Top