Find the largest possible integer n such that there exists a non-constant quadratic polynomial f(x) with integer coefficients satisfying

f(1)∣f(2),f(2)∣f(3),…f(n−1)∣f(n).

Copied from Brilliant