8. 3+26.
Transform the given function to get
y=x2+1mx2+nx+4⇒(m−y)x2+nx+4−y=0.
Consider it as a quadratic equation in x, by Δ⩾0 we get
n2−4(m−y)(4−y)⩾0⇒4y2−(4m+16)y+16m−n2⩽0.
Now consider it as a quadratic inequality in y, given that its solution set is y∈[1,6], hence
{44m+16=1+6,416m−n2=1×6⇒{m=3,n=26.
Therefore, m+n=3+26.