login
Continued fraction for sqrt(322).
1

%I #18 Dec 10 2023 01:50:01

%S 17,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,

%T 1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,

%U 16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16,1,34,1,16

%N Continued fraction for sqrt(322).

%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 10 2023: (Start)

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

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

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

%t ContinuedFraction[Sqrt[322],80] (* or *) PadRight[{17},80,{34,1,16,1}] (* _Harvey P. Dale_, Mar 13 2013 *)

%K nonn,cofr,easy,mult

%O 0,1

%A _N. J. A. Sloane_