CF 403D Beautiful Pairs of Numbers
The sequence of integer pairs(a1, b1), (a2, b2), ..., (ak, bk)isbeautiful, if the following statements are fulfilled:1 ≤ a1 ≤ b1 < a2 ≤ b2 < ... < ak ≤ bk ≤ n, wherenis a given...