a(n) is the even term in the linear recurrence signature for numerators and denominators of continued fraction convergents to sqrt(n), or 0 if n is a square.
A341862
a(n) is the even term in the linear recurrence signature for numerators and denominators of continued fraction convergents to sqrt(n), or 0 if n is a square.
Terms
- a(0) =0a(1) =0a(2) =2a(3) =4a(4) =0a(5) =4a(6) =10a(7) =16a(8) =6a(9) =0a(10) =6a(11) =20a(12) =14a(13) =36a(14) =30a(15) =8a(16) =0a(17) =8a(18) =34a(19) =340a(20) =18a(21) =110a(22) =394a(23) =48a(24) =10a(25) =0a(26) =10a(27) =52a(28) =254a(29) =140
External references
- oeis: A341862