Question discussion

How many such pairs of digits are there in the number ‘5391246’ in both forward and backward direction, each of which has as many digits be…

225184Medium 1 reply 596 views
1
How many such pairs of digits are there in the number ‘5391246’ in both forward and backward direction, each of which has as many digits between them in the number as when the digits are arranged in ascending order within the number?
  • ANone
  • BOne
  • CTwo
  • DThree
Answer not set

Discussion 1

0
CCommunity
Given number: 5391246.

Number

5

3

9

1

2

4

6

Position

1st

2nd

3rd

4th

5th

6th

7th

If we arrange the digits in the ascending order in the number then we will get,

1234569.

Number

1

2

3

4

5

6

9

Position

1st

2nd

3rd

4th

5th

6th

7th

For four pairs 1 & 2, 1 & 3, 4 & 9 and 5 & 9, the difference between their positions in original and rearranged numbers is same.

Hence, four is the answer.