How many pairs of digits are there in 78531264, each of which has as many digits between them in the given series as when the digits are arranged in descending order?

How many pairs of digits are there in 78531264, each of which has as many digits between them in the given series as when the digits are arranged in descending order? Correct Answer 8

Given Number: 7 8 5 3 1 2 6 4

Descending Order: 8 7 6 5 4 3 2 1

There are 8 such pairs, (7, 8), (7, 5), (2, 7), (2, 1), (2, 5), (4, 2), (4, 1), (3, 6).

Hence, 8 is the correct answer.

Related Questions