TCS
Company
Numerical Ability
Permutation and Combination
By using 1, 2, 3, 4, 5 how many 5 digit no. can be formed which is divisible by 4 repetition of no. is allowed?
Read Solution (Total 9)
-
- Last two digits can be 12,24,32,44,52.... 5 combinations
First 3 digits can have any of 5 values i.e. 1,2,3,4,5.
so total possible 5 digit nos are 5*5^3 = 5*5*5*5 = 625
- 12 years agoHelpfull: Yes(20) No(1)
- we have to get a 5 digit number that is divisible by 4
-----
in this last two digits can be 12,24,32,44,54
so last two digits can be filled in 5 ways
and remaining three
1 st digit can be from 1 to 5 so it can be filled in 5ways
similarly 2nd digit and 3rd digit also 5 ways
so answer is 5*5*5*5=625 - 12 years agoHelpfull: Yes(9) No(2)
- I have earlier solved puzzle considering repetition not allowed.
If repitition is allowed then the last two digit of 5 digit no. divisible by 4 are 24, 32, 12 or 52 and 44.
So number 5 digits no. divisible by 4 can be formed is 5*5*5*5 = 625
- 12 years agoHelpfull: Yes(4) No(1)
- we have to get a 5 digit number that is divisible by 4
-----
in this last two digits can be 12,24,32,44,52
so last two digits can be filled in 5 ways
and remaining three
1 st digit can be from 1 to 5 so it can be filled in 5ways
similarly 2nd digit and 3rd digit also 5 ways
so answer is 5*5*5*5=625 - 12 years agoHelpfull: Yes(4) No(0)
- Ans. 12
For divisible by 4 the last two digits of the number should be divisible by 4.
So the numbers must have last two digits as 24 or 32.
If last two digits are 24 then digits 1,3,5 are to be arranged arranged in 6 ways to make numbers as 13524,15324,31524,35124,51324,53124
If last two digits are 32 then digits 1,4,5 are to be arranged arranged in 6 ways to make numbers as 14532,15432,41532,45132,51432,54132
Thus no. of ways in which 5 digits no. divisible by 4 can be formed is 6+6=12
- 13 years agoHelpfull: Yes(3) No(12)
- 24.... because a no is divisible by 4 if its last two digits are divisible by 4 n the no of combination will be 24,12,32,52 and in them first 3 digit can be arranged in 3 factorial ways..... so total 3!*4=24 ans
- 12 years agoHelpfull: Yes(2) No(4)
- what about 12,52 also divisible by 4
then the ans not 12 check once Mr rakesh - 13 years agoHelpfull: Yes(1) No(4)
- Ans. 24
For divisible by 4 the last two digits of the number should be divisible by 4.
So the numbers must have last two digits as 24,32,12 or 52.
If last two digits are 24 then digits 1,3,5 are to be arranged arranged in 6 ways to make numbers as 13524,15324,31524,35124,51324,53124
If last two digits are 32 then digits 1,4,5 are to be arranged arranged in 6 ways to make numbers as 14532,15432,41532,45132,51432,54132.
In the same way we can make 6 numbers with last two digits as 12 and 52 respectively.
Thus no. of ways in which 5 digits no. divisible by 4 can be formed is 6*4 = 24
- 12 years agoHelpfull: Yes(1) No(4)
- Last two digits can be 12,24,32,44,52.... 5 combinations
1 st digit can be from 1 to 5 so it can be filled in 5ways
similarly 2nd digit and 3rd digit also 5 ways
5*5*5*5=625
THEN 5 combinations so 625*5=3125 - 9 years agoHelpfull: Yes(1) No(1)
TCS Other Question
3 persons A, B, C were there A always says truth, B lies on Monday, Tuesday and Wednesday, but C lies on Thursday, Friday & Saturday. One day A said that B & C said to A that B said yesterday was one of the days when I lies, C said that yesterday way one of the days when I lies too, then which day was that? a) Sunday b) Thursday c) Saturday d) Tuesday
Given a collection of points P in the plane, a 1 – set is a point in P that can be separated from the rest by a line, .i.e that point lies on one side of the line while the others lie on the other side. The number of 1-sets of P is denoted by n1(P). The minimum value of n1(P) over all configurations P of 5 points in P lie on a line ) is a) 3 b) 5 c) 2 d) 8