a(n) is twice the coefficient of 1 in the fundamental unit of Q(sqrt(A000037(n))) where A000037 lists the nonsquare numbers (Version 2).

A346419

a(n) is twice the coefficient of 1 in the fundamental unit of Q(sqrt(A000037(n))) where A000037 lists the nonsquare numbers (Version 2).

Terms

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

External references