Let $a,b,c\in\mathbb{Z}$, $1<a<10$, $c$ is a prime number and $f(x)=ax^2+bx+c$. If $f(f(1))=f(f(2))=f(f(3))$, find $f'(f(1))+f(f'(2))+f'(f(3))$
My attempt: \begin{align*} f'(x)&=2ax+b\\ (f(f(x)))'&=f'(f(x))f'(x)\\ f'(f(x))&=\frac{(f(f(x)))'}{f'(x)}\\ \end{align*}
Okay here's the outline of how you solve this.
first, you write down the system of equations $$ 0=f(f(2))-f(f(1))=(3a+b)*(b+5a^2+3ab+2ac) \\ 0=f(f(3))-f(f(2))=(5a+b)*(b+13a^2+5ab+2ac) $$ and this leaves you with four possibilities:
(a) $(3a+b=0)$ and $(5a+b=0)$ which is impossible since $a \ne 0$
(b) $(3a+b=0)$ and $(b+13a^2+5ab+2ac=0)$ in which case we obtain $b=-3a$, then our second condition turns into $2ac-2a^2-3a=0$, which further yields $c=a+\frac{3}{2}$, and we see no acceptable solutions here since both $a$ and $c$ are asked to be integers.
(c) $(b+13a^2+5ab+2ac=0)$ and $(b+5a^2+3ab+2ac=0)$ which, if we subtract one of the equations from the other, gives us $b=-4a$ and, shortly after, $p=\frac{7a+4}{2}$, and we can just check the values of $a$ from $2$ to $9$ to find the only solution at $a=6, b=-24, c=23$.
(d) $(5a+b=0)$ and $(b+5a^2+3ab+2ac=0)$, in which case we get $b=-5a$, the second condition simplifies to $10a-2c+5$, which gives us $c=5a+\frac{5}{2}$, and we also see that $c$ will never be integer if $a$ is integer, and $a$ is always integer.
This leaves us with the only acceptable solution found in (c). As I already mentioned above, putting $(a,b,c)=(6,-24,23)$ into $f'(f(1))+f(f'(2))+f'(f(3))$ gives you $95$.