Define the function f(n) to be the largest prime, which is a factor...