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!)
A053209 Row sums of A051598. 6
1, 5, 14, 32, 68, 140, 284, 572, 1148, 2300, 4604, 9212, 18428, 36860, 73724, 147452, 294908, 589820, 1179644, 2359292, 4718588, 9437180, 18874364, 37748732, 75497468, 150994940, 301989884, 603979772, 1207959548, 2415919100 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0) = 1, a(1) = 5, a(n+1) = 2*a(n) + 4, for n >= 1.
a(n) = 9*2^(n-1) - 4, n >= 1.
a(n) = 4*n + Sum[i = 0, n - 1] a(i). - Jon Perry, Nov 20 2012
a(n) = A048491(n)/2, n>0. - Philippe Deléham, Apr 15 2013
G.f.: (1+x)^2/((1-x)*(1-2*x)). - Philippe Deléham, Apr 15 2013
a(n) = 3*a(n-1) - 2*a(n-2) with a(0)=1, a(1)=5, a(2)=14. - Philippe Deléham, Apr 15 2013
E.g.f.: (1 - 8*exp(x) + 9*exp(2*x))/2. - Stefano Spezia, Sep 28 2022
MATHEMATICA
Join[{1}, LinearRecurrence[{3, -2}, {5, 14}, 50]] (* G. C. Greubel, Sep 03 2018 *)
PROG
(PARI) m=30; v=concat([5, 14], vector(m-2)); for(n=3, m, v[n] = 3*v[n-1] -2*v[n-2]); concat([1], v) \\ G. C. Greubel, Sep 03 2018
(Magma) I:=[5, 14]; [1] cat [n le 2 select I[n] else 3*Self(n-1) - 2*Self(n-2): n in [1..30]]; // G. C. Greubel, Sep 03 2018
(Magma) R<x>:=PowerSeriesRing(Integers(), 30); Coefficients(R!( (1+x)^2)/((1-x)*(1-2*x))); // Marius A. Burtea, Oct 15 2019
CROSSREFS
Cf. A048491.
Sequence in context: A139754 A036595 A180668 * A306192 A271993 A274324
KEYWORD
nonn,easy
AUTHOR
Asher Auel, Dec 14 1999
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 18 08:27 EDT 2024. Contains 371769 sequences. (Running on oeis4.)