solve a_2−a_2−a_1−2a_1=n^2−(3−n^2), a_2=n^2+a_1