GeekInterview.com
Series: Subject: Topic:
Question: 4 of 64

5 digit number divisible by 4

How many 5 digit numbers can be formed using the digits 1, 2, 3, 4, 5 (but with repetition) that are divisible by 4?
This question is related to TCS Interview
Asked by: Anu.K.J | Member Since Dec-2010 | Asked on: Dec 15th, 2010

View all questions by Anu.K.J

Showing Answers 1 - 2 of 2 Answers
cooldeepa

Answered On : Jan 14th, 2011

View all answers by cooldeepa

It is the formula...5^n-1, where n is no of digits..

5^4-1=5^3=125

Yes  1 User has rated as useful.
  
Login to rate this answer.
GANESH

Answered On : Oct 13th, 2011

Divisibility rule of 4 is last two digits are divisible by 4
so in 5 digit no last two digit should always be 12,24,32,44,52;
(any one of them may be)

so for last two digits 5 ways are possible ;

since repetion are allowed then for 3rs place form right there are also 5 ways so in 3rd place either of 1,2,3,4,5 is possible;
simillarly at 4 rth place either of 1,2,3,4,5 is possible so again 5 ways are possible

simillarly at 5th place also 5 ways are possible

so total no are: 5*5*5*5=625

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.