Does a Linear Sequence Divide a Quadratic? Solve by Modular Arithmetic