Continuant polynomialIt is defined as followKn(x1,x2,…,xn):={1,ifn=0;x1,ifn=1;x1Kn-1(x2,…,xn)+Kn-2(x3,…,xn),ifn>1.It is easy to show, thatKn(x1,x2,…,xn)=det(xn+10…00-1xn-1+1…000-1xn-2⋱00⋮⋮⋱⋱⋮⋮000…x2+1000…-1x1).References: Knuth D.E. ”The Art of Computer Programming, Volume 2: Seminumerical Algorithms.