MathDB
Combi With Digits

Source: PRMO Leg 2 P20

August 25, 2019
combinatoricsPRMO

Problem Statement

How many 44-digit numbers abcd\overline{abcd} are there such that a<b<c<da<b<c<d and ba<cb<dcb-a<c-b<d-c ?