%I
%S 25,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,
%T 2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,
%U 50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2,50,2,2,2
%N Continued fraction for sqrt(646).
%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 a(n)=(1/24)*{-209*(n mod 4)+205*[(n+1) mod 4]-59*[(n+2) mod 4]+355*[(n+3) mod 4]}-25*[C(2*n,n) mod 2], with n>=0 [From _Paolo P. Lava_, May 15 2009]
%p with(numtheory): Digits := 300: convert(evalf(sqrt(646)),confrac);
%K nonn,cofr,easy
%O 0,1
%A _N. J. A. Sloane_.
|