%I #20 Dec 10 2023 01:50:36
%S 17,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,
%T 4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,
%U 34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1,34,1,4,1
%N Continued fraction for sqrt(318).
%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) = 4, a(2^e) = 34 for e >= 2, and a(p^e) = 1 for an odd prime p.
%F Dirichlet g.f.: zeta(s) * (1 + 3/2^s + 15/2^(2*s-1)). (End)
%p with(numtheory): Digits := 300: convert(evalf(sqrt(318)),confrac);
%t ContinuedFraction[Sqrt[318],100] (* _Harvey P. Dale_, Nov 04 2012 *)
%t PadRight[{17},120,{34,1,4,1}] (* _Harvey P. Dale_, Mar 06 2023 *)
%K nonn,cofr,easy,mult
%O 0,1
%A _N. J. A. Sloane_
|