%I #29 Dec 31 2023 15:22:26
%S 11,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,
%T 2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,22,1,2,1,
%U 22,1,2,1,22,1,2,1,22,1,2,1
%N Continued fraction for sqrt(138).
%H G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>.
%H <a href="/index/Con#confC">Index entries for continued fractions for constants</a>.
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,1).
%F From _Amiram Eldar_, Nov 15 2023: (Start)
%F Multiplicative with a(2) = 2, a(2^e) = 22 for e >= 2, and a(p^e) = 1 for an odd prime p.
%F Dirichlet g.f.: zeta(s) * (1 + 1/2^s + 5/4^(s-1)). (End)
%F a(n) = a(n-4) for n>4 with a(0)=11, a(1) = a(3) = 1, a(2) = 2, a(4) = 22. - _Wesley Ivan Hurt_, Dec 31 2023
%t ContinuedFraction[Sqrt[138],300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 13 2011 *)
%K nonn,cofr,easy,mult
%O 0,1
%A _N. J. A. Sloane_
|