Problem 4. For a sequence a1 < a2 < · · · < an of integers, a pair ( ai, aj ) with 1 ≤ i < j ≤ n is called interesting if there exists a pair ( ak, a ) of integers with 1 ≤ k < ℓ ≤ n such that

al  akaj  ai=2.

For each n ≥ 3, find the largest possible number of interesting pairs in a sequence of length n .

 
Copyright BB © 2024
Авторски права ББ © 2024