%I #26 Dec 04 2022 16:27:13
%S 1,1,27,28,755,783,21113,21896,590409,612305,16510339,17122644,
%T 461699083,478821727,12911063985,13389885712,361048092497,
%U 374437978209,10096435525931,10470873504140,282339146633571,292810020137711,7895399670214057,8188209690351768
%N Denominators of continued fraction convergents to sqrt(195).
%C The following remarks assume an offset of 1. This is the sequence of Lehmer numbers U_n(sqrt(R),Q) for the parameters R = 26 and Q = -1; it is a strong divisibility sequence, that is, gcd(a(n),a(m)) = a(gcd(n,m)) for all positive integers n and m. Consequently, this is a divisibility sequence: if n divides m then a(n) divides a(m). - _Peter Bala_, May 28 2014
%H Vincenzo Librandi, <a href="/A041363/b041363.txt">Table of n, a(n) for n = 0..200</a>
%H Eric W. Weisstein, <a href="http://mathworld.wolfram.com/LehmerNumber.html">MathWorld: Lehmer Number</a>
%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,28,0,-1).
%F G.f.: -(x^2-x-1) / (x^4-28*x^2+1). - _Colin Barker_, Nov 16 2013
%F a(n) = 28*a(n-2) - a(n-4). - _Vincenzo Librandi_, Dec 16 2013
%F From _Peter Bala_, May 28 2014: (Start)
%F The following remarks assume an offset of 1.
%F Let alpha = ( sqrt(26) + sqrt(30) )/2 and beta = ( sqrt(26) - sqrt(30) )/2 be the roots of the equation x^2 - sqrt(26)*x - 1 = 0. Then a(n) = (alpha^n - beta^n)/(alpha - beta) for n odd, while a(n) = (alpha^n - beta^n)/(alpha^2 - beta^2) for n even.
%F a(n) = Product_{k = 1..floor((n-1)/2)} ( 26 + 4*cos^2(k*Pi/n) ).
%F Recurrence equations: a(0) = 0, a(1) = 1 and for n >= 1, a(2*n) = a(2*n - 1) + a(2*n - 2) and a(2*n + 1) = 26*a(2*n) + a(2*n - 1). (End)
%t Denominator[Convergents[Sqrt[195], 30]] (* _Vincenzo Librandi_, Dec 16 2013 *)
%t LinearRecurrence[{0,28,0,-1},{1,1,27,28},30] (* _Harvey P. Dale_, Dec 04 2022 *)
%o (Magma) I:=[1,1,27,28]; [n le 4 select I[n] else 28*Self(n-2)-Self(n-4): n in [1..40]]; // _Vincenzo Librandi_, Dec 16 2013
%Y Cf. A041362, A040181, A002530.
%K nonn,frac,easy
%O 0,3
%A _N. J. A. Sloane_
%E More terms from _Colin Barker_, Nov 16 2013
|