Y by Davi-8191, abab, Muaaz.SY, itslumi, mathematicsy, megarnie, rachelshi, jhu08, justJen, GeoMetrix, fluff_E, son7, Lamboreghini, Stuart111, hectorleo123, Adventure10, Mango247, trigadd123, ItsBesi, Akacool, rightways, pomodor_ap, cubres, and 4 other users
Let
be the set of positive integers. Find all functions
such that
![\[ m^2 + f(n) \mid mf(m) +n \]](//latex.artofproblemsolving.com/2/f/4/2f409d1de993f1af8fd839bb8e9f87a57e1b8608.png)
for all positive integers
and
.


![\[ m^2 + f(n) \mid mf(m) +n \]](http://latex.artofproblemsolving.com/2/f/4/2f409d1de993f1af8fd839bb8e9f87a57e1b8608.png)
for all positive integers

