Solution: Given any 4 elements p<q<r<s of {1,2,…,9}, there are 5 ways of rearranging them to satisfy the inequality: prqs, psqr, qspr, qrps, and rspq. This gives a total of (49)⋅5=630 quadruples.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.