login
Continued fraction for sqrt(782).
1

%I #21 Jan 10 2024 00:27:53

%S 27,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,

%T 1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,

%U 26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26,1,54,1,26

%N Continued fraction for sqrt(782).

%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_, Jan 10 2024: (Start)

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

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

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

%t ContinuedFraction[Sqrt[782],80] (* or *) PadRight[{27,1,26,1},80,{54,1,26,1}] (* _Harvey P. Dale_, Dec 13 2011 *)

%K nonn,cofr,easy,mult

%O 0,1

%A _N. J. A. Sloane_