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!)
A048587 Pisot sequence L(6,10). 2

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

%S 6,10,17,29,50,87,152,266,466,817,1433,2514,4411,7740,13582,23834,

%T 41825,73397,128802,226031,396656,696082,1221538,2143649,3761841,

%U 6601570,11584947,20330164,35676950,62608682,109870577,192809421,338356946,593775047,1042002568

%N Pisot sequence L(6,10).

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

%F a(n) = 3*a(n-1) - 3*a(n-2) + 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] == 6, a[1] == 10, a[n] == Ceiling[a[n - 1]^2/a[n - 2]]}, a, {n, 0, 40}] (* _Bruno Berselli_, Feb 05 2016 *)

%o (Magma) Lxy:=[6,10]; [n le 2 select Lxy[n] else Ceiling(Self(n-1)^2/Self(n-2)): n in [1..40]]; // _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, 6, 10) \\ _Colin Barker_, Aug 07 2016

%Y Subsequence of A018908.

%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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)