login
Numerators of continued fraction convergents to sqrt(42).
2

%I #17 Aug 07 2019 18:23:49

%S 6,13,162,337,4206,8749,109194,227137,2834838,5896813,73596594,

%T 153090001,1910676606,3974443213,49603995162,103182433537,

%U 1287793197606,2678768828749,33433019142594,69544807113937

%N Numerators of continued fraction convergents to sqrt(42).

%H Vincenzo Librandi, <a href="/A041070/b041070.txt">Table of n, a(n) for n = 0..100</a>

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (0,26,0,-1).

%F G.f.: -(x+1)*(x^2-7*x-6) / (x^4-26*x^2+1). - _Colin Barker_, Nov 04 2013

%t Table[Numerator[FromContinuedFraction[ContinuedFraction[Sqrt[42],n]]],{n,1,50}] (* _Vladimir Joseph Stephan Orlovsky_, Mar 22 2011*)

%t Numerator[Convergents[Sqrt[42], 30]] (* _Vincenzo Librandi_, Oct 29 2013 *)

%t LinearRecurrence[{0,26,0,-1},{6,13,162,337},30] (* _Harvey P. Dale_, Aug 07 2019 *)

%Y Cf. A041071, A010496.

%K nonn,cofr,frac,easy

%O 0,1

%A _N. J. A. Sloane_.