analytical solution for n1=5, n2=1