(n^2+100)/(n+10)
=(n^2+20n+100-20n-200+200)/(n+10)
=[(n+10)^2-20*(n+10)+200]/(n+10)
=n+10-20+200/(n+10)
=n-10+200/(n+10)
要使n-10+200/(n+10)是正整数,那么200/(n+10)是正整数,n最大为190
(n^2+100)/(n+10)
=(n^2+20n+100-20n-200+200)/(n+10)
=[(n+10)^2-20*(n+10)+200]/(n+10)
=n+10-20+200/(n+10)
=n-10+200/(n+10)
要使n-10+200/(n+10)是正整数,那么200/(n+10)是正整数,n最大为190