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!)
A048582 Pisot sequence L(4,9). 2
4, 9, 21, 49, 115, 270, 634, 1489, 3498, 8218, 19307, 45359, 106565, 250361, 588192, 1381884, 3246565, 7627402, 17919636, 42099965, 98908653, 232373629, 545933059, 1282602102, 3013314774, 7079409829, 16632196530, 39075285666, 91802543767, 215678705823 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 3*a(n-1) - 2*a(n-2) + a(n-3) + a(n-4) - 2*a(n-5) + a(n-6) - a(n-7) (conjectured). Recurrence is satisfied for at least 760000 terms. - Chai Wah Wu, Jul 25 2016
Note the warning in A010925 from Pab Ter (pabrlos(AT)yahoo.com), May 23 2004: [A010925] and other examples show that it is essential to reject conjectured generating functions for Pisot sequences until a proof or reference is provided. - N. J. A. Sloane, Jul 26 2016
MATHEMATICA
a[n_] := a[n] = Switch[n, 0, 4, 1, 9, _, Ceiling[a[n-1]^2/a[n-2]]];
a /@ Range[0, 29] (* Jean-François Alcover, Oct 22 2019 *)
PROG
(PARI) pisotL(nmax, a1, a2) = {
a=vector(nmax); a[1]=a1; a[2]=a2;
for(n=3, nmax, a[n] = ceil(a[n-1]^2/a[n-2]));
a
}
pisotL(50, 4, 9) \\ Colin Barker, Aug 07 2016
CROSSREFS
See A008776 for definitions of Pisot sequences.
Sequence in context: A122498 A132750 A297296 * A069231 A243635 A243636
KEYWORD
nonn
AUTHOR
STATUS
approved

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 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)