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!)
A048589 Pisot sequence L(7,9). 1

%I #14 Sep 08 2022 08:44:57

%S 7,9,12,16,22,31,44,63,91,132,192,280,409,598,875,1281,1876,2748,4026,

%T 5899,8644,12667,18563,27204,39868,58428,85629,125494,183919,269545,

%U 395036,578952,848494,1243527,1822476,2670967,3914491,5736964,8407928,12322416,18059377

%N Pisot sequence L(7,9).

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

%F a(n) = 2*a(n-1) - a(n-2) + a(n-3) - a(n-4) (holds at least up to n = 1000 but is not known to hold in general).

%t RecurrenceTable[{a[0] == 7, a[1] == 9, a[n] == Ceiling[a[n - 1]^2/a[n - 2]]}, a, {n, 0, 50}] (* _Bruno Berselli_, Feb 05 2016 *)

%o (Magma) Lxy:=[7,9]; [n le 2 select Lxy[n] else Ceiling(Self(n-1)^2/Self(n-2)): n in [1..50]]; // _Bruno Berselli_, Feb 05 2016

%o (PARI) pisotL(nmax, a1, a2) = {

%o a=vector(nmax); a[1]=a1; a[2]=a2;

%o for(n=3, nmax, a[n] = ceil(a[n-1]^2/a[n-2]));

%o a

%o }

%o pisotL(50, 7, 9) \\ _Colin Barker_, Aug 07 2016

%Y Subsequence of A048585.

%Y See A008776 for definitions of Pisot sequences.

%K nonn

%O 0,1

%A _David W. Wilson_

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 May 8 10:35 EDT 2024. Contains 372332 sequences. (Running on oeis4.)