Find the largest positive integer $n$ such that $n^2 + 10$ is divisible by $n-5$.
Problem
Source:
Tags: number theory, divisible, divides
GammaZero
14.09.2021 22:20
$\frac{n^2+10}{n-5}=n+5+\frac{35}{n-5}.$ Thus, our answer is $n-5=35$ which is $\boxed{40}$
OlympusHero
15.09.2021 05:12
Write $\frac{n^2+10}{n-5}=n+5+\frac{35}{n-5}$. The maximum is hence $n=35+5=\boxed{40}$.
math31415926535
15.09.2021 05:21
$\frac{n^2+10}{n-5}=n+5+\frac{35}{n-5} \implies n=40$
The.survivor
15.09.2021 09:51
$n^2+10=(n-5)^2+10(n-5)+35$