login
Continued fraction for sqrt(438).
1

%I #16 Dec 20 2023 08:05:20

%S 20,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,

%T 1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,

%U 12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12,1,40,1,12

%N Continued fraction for sqrt(438).

%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_, Dec 20 2023: (Start)

%F Multiplicative with a(2) = 12, a(2^e) = 40 for e >= 2, and a(p^e) = 1 for an odd prime p.

%F Dirichlet g.f.: zeta(s) * (1 + 1/2^(s-2) + 7/2^s + 7/2^(2*s-2)). (End)

%p with(numtheory): Digits := 300: convert(evalf(sqrt(438)),confrac);

%t ContinuedFraction[Sqrt[438], 100] (* _Amiram Eldar_, Dec 20 2023 *)

%K nonn,cofr,easy,mult

%O 0,1

%A _N. J. A. Sloane_