Problem 4. Given a positive integer , determine the largest positive integer for which there exist real numbers such that and for .