Lemma
MediumPermutations & combinations
AQuA-RAT train #21912 · Combinatorics · Permutations & combinations

How many such pairs of digits are there in the number '5391246'…

How many such pairs of digits are there in the number '5391246' in both forward and backward directions, each of which has as many digits between them in the number as when the digits are arranged in ascending order with in the number?

Its source gives only the correct option, without the working.

~8 minAnswer checked instantly

AQuA-RAT — Algebra Question Answering with Rationales (Ling et al., DeepMind, 2017) · train #21912

Stuck? A gentle nudge

No hints for this one.

Something off?
Workspace
Your answer

Checked against the answer in AQuA-RAT.