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

A048941

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

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) =34a(14) =340a(15) =4a(16) =5a(17) =394a(18) =48a(19) =10a(20) =10a(21) =52a(22) =16a(23) =5a(24) =22a(25) =3040a(26) =6a(27) =46a(28) =70a(29) =12

External references