MathLabs

Problem 1

Let Z+\mathbb{Z}^+ be the set of positive integers. Determine all functions f:Z+→Z+f:\mathbb{Z}^+\to\mathbb{Z}^+ such that a2+f(a)f(b)a^2+f(a)f(b) is divisible by f(a)+bf(a)+b for all positive integers aa and bb.
Step 5 of 6: An algebraic identity for a=p
p2+pf(b)=(p+b)(f(b)+p−b)−b(f(b)−b) ⟹ p+b∣b(f(b)−b)p^2+pf(b)=(p+b)\big(f(b)+p-b\big)-b\big(f(b)-b\big)\ \Longrightarrow\ p+b\mid b\big(f(b)-b\big)
Detailed analysis

For an odd prime pp and any positive integer bb, set a=pa=p in the original condition: p+b∣p2+f(p)f(b)=p2+pf(b)p+b\mid p^2+f(p)f(b)=p^2+pf(b), using f(p)=pf(p)=p from step 4. Expanding the right side of the displayed identity confirms it equals p2+pf(b)p^2+pf(b), so p+bp+b divides the left side; since p+bp+b obviously divides (p+b)(f(b)+p−b)(p+b)(f(b)+p-b), it must also divide the remaining term b(f(b)−b)b(f(b)-b).