Given a sequence of integers A0...An
find i, j such that x = i j Ax is maximized.

From The Problem