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!)
A048580 Pisot sequence L(3,10). 4

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

%S 3,10,34,116,396,1352,4616,15760,53808,183712,627232,2141504,7311552,

%T 24963200,85229696,290992384,993510144,3392055808,11581202944,

%U 39540700160,135000394752,460920178688,1573679925248,5372879343616,18344157523968,62630871408640

%N Pisot sequence L(3,10).

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

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

%F Empirical g.f.: (3-2*x)/(1-4*x+2*x^2). [_Colin Barker_, Feb 21 2012]

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

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

%Y It appears that this is a subsequence of A007052.

%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 08:09 EDT 2024. Contains 371922 sequences. (Running on oeis4.)