Alex calculated the value of function $f(n) = n^2 + n + 1$ for each integer from $1$ to $100$. Marina calculated the value of function $g(n) = n^2-n+1$ for the same numbers. Who of them has greater product of values and what is their ratio?
Source: Caucasus MO 2024, Juniors P5
Tags: algebra
Alex calculated the value of function $f(n) = n^2 + n + 1$ for each integer from $1$ to $100$. Marina calculated the value of function $g(n) = n^2-n+1$ for the same numbers. Who of them has greater product of values and what is their ratio?