Problem

Source: IMOC 2017 N5

Tags: number theory, fe, functional equation



Find all functions $f:\mathbb N\to\mathbb N$ such that $$f(x)+f(y)\mid x^2-y^2$$holds for all $x,y\in\mathbb N$.