Coefficient a(n) of three-term recurrence relation for solutions of the equation in integers x^2-n*floor(x/sqrt(n))^2=1 such that x(i+2)=a(n)*x(i+1)-x(i). n is a nonsquare number.

A180495

Coefficient a(n) of three-term recurrence relation for solutions of the equation in integers x^2-n*floor(x/sqrt(n))^2=1 such that x(i+2)=a(n)*x(i+1)-x(i). n is a nonsquare number.

Terms

    a(0) =6a(1) =4a(2) =18a(3) =10a(4) =16a(5) =6a(6) =38a(7) =20a(8) =14a(9) =1298a(10) =30a(11) =8a(12) =66a(13) =34a(14) =340a(15) =18a(16) =110a(17) =394a(18) =48a(19) =10a(20) =102a(21) =52a(22) =254a(23) =19602a(24) =22a(25) =3040a(26) =34a(27) =46a(28) =70a(29) =12

External references