login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A002813 a(0) = 4; for n > 0, a(n) = a(n-1)^3 - 3*a(n-1)^2 + 3.
(Formerly M3561 N1443)
5

%I M3561 N1443 #56 Aug 06 2022 10:14:43

%S 4,19,5779,192900153619,7177905237579946589743592924684179,

%T 369822356418414944143680173221426891716916679027557977938929258031490127514207143830378340325399155219

%N a(0) = 4; for n > 0, a(n) = a(n-1)^3 - 3*a(n-1)^2 + 3.

%C An infinite coprime sequence defined by recursion. - _Michael Somos_, Mar 14 2004

%C The next term, a(7), has 305 digits. - _Harvey P. Dale_, Jul 19 2011

%C From _Peter Bala_, Nov 22 2012: (Start)

%C The present sequence is the case x = 1 of the following general remarks about the recurrence a(n+1) = a(n)^3 - 3*a(n-1)^2 + 3. Cf. A002814.

%C Define a sequence of polynomials P(n,x) inductively by setting P(0,x) = x^2 + 3 and P(n+1,x) = P(n,x^3 + 3*x) for n >= 0. Then P(n,x) satisfies the cubic recurrence P(n+1,x) = P(n,x)^3 - 3*P(n-1,x)^2 + 3 with the initial condition P(0,x) = x^2 + 3.

%C An explicit formula is P(n,x) = Q(3^(n+1),x)/Q(3^n,x), where Q(n,x) = ((x + sqrt(x^2 + 4))/2)^n + ((x - sqrt(x^2 + 4))/2)^n.

%C Alternatively, P(n,x) = ((x^2 + 2 + sqrt(x^4 + 4*x^2))/2)^(3^n) + ((x^2 + 2 - sqrt(x^4 + 4*x^2))/2)^(3^n) + 1.

%C Iterating the algebraic identity x/sqrt(x^2 + 4) = (1 - 2/(x^2 + 3))*y/sqrt(y^2 + 4), where y = x^3 + 3*x, leads to the product expansion x/sqrt(x^2 + 4) = Product_{n = 0..oo} (1 - 2/P(n,x)). See Escott and also Fine.

%C The sequence A(n,x) := x*Product_{k = 0..n} P(k,x) satisfies the recurrence A(n+1,x) = A(n,x)^3 + 3*A(n,x). These sequences occur in the continued cotangent expansions of Lehmer. Cases currently in the database are A006267 (x = 1), A006266 (x = 2), A006268 (x = 3), A006269 (x = 5) and A145180 through A145189 (x = 6 through x = 15).

%C (End)

%D L. E. Dickson, History of the Theory of Numbers. Carnegie Institute Public. 256, Washington, DC, Vol. 1, 1919; Vol. 2, 1920; Vol. 3, 1923, see vol. 1, p. 397.

%D E. Lucas, Nouveaux théorèmes d'arithmétique supérieure, Comptes Rend., 83 (1876), 1286-1288.

%D N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H Vincenzo Librandi, <a href="/A002813/b002813.txt">Table of n, a(n) for n = 0..8</a>

%H E. B. Escott, <a href="https://www.jstor.org/stable/2301484">Rapid method for extracting a square root</a>, Amer. Math. Monthly, 44 (1937), 644-646.

%H N. J. Fine, <a href="https://www.jstor.org/stable/2321014">Infinite products for k-th roots</a>, Amer. Math. Monthly Vol. 84, No. 8, Oct. 1977.

%H E. Lucas, <a href="/A001566/a001566.pdf">Nouveaux théorèmes d'arithmétique supérieure</a> (annotated scanned copy)

%H J. Shallit <a href="http://archive.org/details/jresv80Bn2p285">Predictable regular continued cotangent expansions</a>, J. Res. Nat. Bur. Standards Sect. B 80B (1976), no. 2, 285-290.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/LehmerCotangentExpansion.html">MathWorld: Lehmer Cotangent Expansion>

%F a(n) = L(2*3^n)+1 where L=Lucas numbers.

%F a(n) = L(3^(n+1))/L(3^n). - _Benoit Cloitre_, Sep 18 2005

%F a(n) = A001999(n)+1. - _R. J. Mathar_, Apr 22 2007

%F From _Peter Bala_, Nov 22 2012: (Start)

%F a(n) = ((3 + sqrt(5))/2)^(3^n) + ((3 - sqrt(5))/2)^(3^n) + 1.

%F (1/5)*sqrt(5) = Product_{n = 0..oo} (1 - 2/a(n)).

%F A006267(n+1) = Product_{k = 0..n} a(k).

%F A002814(n+1) = a(n) - 2. (End)

%t NestList[#^3-3#^2+3&,4,6] (* _Harvey P. Dale_, Jul 19 2011 *)

%o (PARI) a(n)=if(n<1,4*(n==0),a(n-1)^3-3*a(n-1)^2+3)

%o (PARI) a(n)=if(n<0,0,n=2*3^n;fibonacci(n+1)+fibonacci(n-1)+1)

%o (Magma) [Lucas(2*3^n)+1: n in [0..5]]; // _Vincenzo Librandi_, Jul 20 2011

%Y Cf. A002814, A006267.

%K nonn,easy,nice

%O 0,1

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 04:38 EDT 2024. Contains 371696 sequences. (Running on oeis4.)