MathDB
2020 Team #8

Source:

October 24, 2023
team test

Problem Statement

For nonzero integers nn, let f(n)f(n) be the sum of all positive integers bb for which all solutions xx to x2+bx+n=0x^2 +bx+n = 0 are integers, and let g(n)g(n) be the sum of all positive integers cc for which all solutions xx to cx+n=0cx + n = 0 are integers. Compute n=12020(f(n)g(n))\sum^{2020}_{n=1} (f(n) - g(n)).