Problem

Source: 4th Memorial Mathematical Competition "Aleksandar Blazhevski - Cane"- Senior D2 P6

Tags: number theory, functions, Divisibility, positive integers



Denote by $\mathbb{N}$ the set of positive integers. Find all functions $f:\mathbb{N} \rightarrow \mathbb{N}$ such that: • For all positive integers $a> 2023^{2023}$ it holds that $f(a) \leq a$. • $\frac{a^2f(b)+b^2f(a)}{f(a)+f(b)}$ is a positive integer for all $a,b \in \mathbb{N}$. Proposed by Nikola Velov