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!)
A018916 Define the sequence T(a(0),a(1)) by a(n+2) is the greatest integer such that a(n+2)/a(n+1) < a(n+1)/a(n) for n >= 0. This is T(2,8). 2

%I #29 Jul 13 2023 09:28:31

%S 2,8,31,120,464,1794,6936,26816,103676,400832,1549696,5991432,

%T 23164064,89556864,346244592,1338650240,5175487232,20009459744,

%U 77360538496,299091179520,1156345798592,4470662117376,17284466110464,66825172844672

%N Define the sequence T(a(0),a(1)) by a(n+2) is the greatest integer such that a(n+2)/a(n+1) < a(n+1)/a(n) for n >= 0. This is T(2,8).

%C From _Johannes W. Meijer_, Aug 14 2010: (Start)

%C The sequence b(n+1)=2*a(n), n>= 0 with b(0)=1, is a berserker sequence, see A180141. For the corner squares 16 A[5] vectors, with decimal values between 19 and 400, lead to the b(n) sequence.

%C (End)

%C Not to be confused with the Pisot T(2,8) sequence, which is A004171. - _R. J. Mathar_, Feb 13 2016

%H Colin Barker, <a href="/A018916/b018916.txt">Table of n, a(n) for n = 0..1000</a>

%H D. W. Boyd, <a href="http://www.researchgate.net/publication/258834801">Linear recurrence relations for some generalized Pisot sequences</a>, Advances in Number Theory ( Kingston ON, 1991) 333-340, Oxford Sci. Publ., Oxford Univ. Press, New York, 1993.

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

%H <a href="/index/Ph#Pisot">Index entries for Pisot sequences</a>

%F From _Johannes W. Meijer_, Aug 14 2010: (Start)

%F G.f.: (2-x^2)/(1-4*x+2*x^3).

%F a(n) = 4*a(n-1)-2*a(n-3) with a(0)=2, a(1)=8 and a(2)=31.

%F a(n) = (119-24*z1-64*z1^2)*z1^(-n-1)/202+(119-24*z2-64*z2^2)*z2^(-n-1)/202+(119-24*z3-64*z3^2)*z3^(-n-1)/202 with alpha=2*arctan(sqrt(303)/9), p=(sqrt(6)/3)*sin((alpha+Pi)/6), q=sqrt(2)*cos((alpha+Pi)/6), z1:=2*p, z2=(-q-p) and z3=(q-p).

%F (End)

%t LinearRecurrence[{4, 0, -2}, {2, 8, 31}, 25] (* _Vincenzo Librandi_, Feb 15 2016 *)

%o (PARI) T(a0, a1, maxn) = a=vector(maxn); a[1]=a0; a[2]=a1; for(n=3, maxn, a[n]=ceil(a[n-1]^2/a[n-2])-1); a

%o T(2, 8, 30) \\ _Colin Barker_, Feb 14 2016

%K nonn,easy

%O 0,1

%A _R. K. Guy_

%E More terms from _Johannes W. Meijer_, Aug 14 2010

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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)