$n$ consecutive positive integers are arranged in a row (not necessarily in order) such that the sum of any three successive integers in the row is divisible by the leftmost number in the triple. Determine the largest possible value of $n$ if the last number in the row is odd.

Let's think step by step and output the final answer within \boxed{}.
user