Source: https://igor-kortchemski.perso.math.cnrs.fr/olympiades/Stages/2003%20Saint%20Malo/Equations%20Fonctionnelles/eqfonc-cours.pdf