a(n) is the least m such that a period of the continued fraction expansion of sqrt(m) is 1,1,1,...,1,1,1,Z and there are n ones in the period (Z is 2*floor(sqrt(m))). If no such m exists, a(n) = 0.
A071296
a(n) is the least m such that a period of the continued fraction expansion of sqrt(m) is 1,1,1,...,1,1,1,Z and there are n ones in the period (Z is 2*floor(sqrt(m))). If no such m exists, a(n) = 0.
Terms
- a(0) =3a(1) =0a(2) =7a(3) =13a(4) =0a(5) =58a(6) =135a(7) =0a(8) =819a(9) =2081a(10) =0a(11) =13834a(12) =35955a(13) =0a(14) =244647a(15) =639389a(16) =0a(17) =4374866a(18) =11448871a(19) =0a(20) =78439683a(21) =205337953a(22) =0a(23) =1407271538a(24) =3684200835a(25) =0a(26) =25251313255a(27) =66108441037a(28) =0a(29) =453111560266
External references
- oeis: A071296