Take the solution to Pellian equation x^2 - 8*n*y^2 = 1 with smallest positive y and x >= 0; sequence gives a(n) = y, or 0 if n is twice a positive square. A368340 gives values of x.

A368339

Take the solution to Pellian equation x^2 - 8*n*y^2 = 1 with smallest positive y and x >= 0; sequence gives a(n) = y, or 0 if n is twice a positive square. A368340 gives values of x.

Terms

    a(0) =1a(1) =0a(2) =1a(3) =3a(4) =3a(5) =1a(6) =2a(7) =0a(8) =2a(9) =1a(10) =21a(11) =5a(12) =5a(13) =12a(14) =1a(15) =51a(16) =3a(17) =0a(18) =3a(19) =57a(20) =1a(21) =15a(22) =1794a(23) =7a(24) =7a(25) =45a(26) =33a(27) =1a(28) =1287a(29) =2

External references