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!)
A070207 Expansion of (1-x-5*x^2)/(1-3*x-2*x^2-x^3). 1

%I #38 Sep 08 2022 08:45:05

%S 1,2,3,14,50,181,657,2383,8644,31355,113736,412562,1496513,5428399,

%T 19690785,71425666,259086967,939803018,3409008654,12365718965,

%U 44854977221,162705378247,590191808148,2140841158159,7765612469020,28168711531526,102178200690777

%N Expansion of (1-x-5*x^2)/(1-3*x-2*x^2-x^3).

%C The old entry with this sequence number was a duplicate of A024155.

%D Benoit Rittaud, Elise Janvresse, Emmanuel Lesigne and Jean-Christophe Novelli, Quand les maths se font discrètes, Le Pommier, 2008 (ISBN 978-2-7465-0370-0). See pp. 42ff.

%H Robert Israel, <a href="/A070207/b070207.txt">Table of n, a(n) for n = 0..1770</a>

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

%F a(0)=1, a(1)=2, a(2)=3, a(n) = 3*a(n-1)+2*a(n-2)+a(n-3). - _Harvey P. Dale_, Feb 01 2013

%p f:= gfun:-rectoproc({-a(n+3)+3*a(n+2)+2*a(n+1)+a(n), a(0) = 1, a(1) = 2, a(2) = 3},a(n),remember):

%p map(f, [$0..50]); # _Robert Israel_, Dec 28 2015

%t CoefficientList[Series[(1-x-5x^2)/(1-3x-2x^2-x^3),{x,0,40}],x] (* or *) LinearRecurrence[{3,2,1},{1,2,3},40] (* _Harvey P. Dale_, Feb 01 2013 *)

%o (PARI) Vec((1-x-5*x^2)/(1-3*x-2*x^2-x^3) + O(x^100)) \\ _Altug Alkan_, Dec 27 2015

%o (Magma) I:=[1,2,3]; [n le 3 select I[n] else 3*Self(n-1)+2*Self(n-2)+Self(n-3): n in [1..30]]; // _Vincenzo Librandi_, Dec 28 2015

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_, Sep 18 2008

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 March 29 06:57 EDT 2024. Contains 371265 sequences. (Running on oeis4.)