The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A131064 Binomial transform of [1, 1, 5, 5, 5, ...]. 9
1, 2, 8, 24, 60, 136, 292, 608, 1244, 2520, 5076, 10192, 20428, 40904, 81860, 163776, 327612, 655288, 1310644, 2621360, 5242796, 10485672, 20971428, 41942944, 83885980, 167772056, 335544212, 671088528, 1342177164, 2684354440 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Row sums of triangle A131063. - Emeric Deutsch, Jun 20 2007
LINKS
FORMULA
From Emeric Deutsch, Jun 20 2007: (Start)
a(n) = 5*2^n - 4*(n + 1).
G.f.: (1-2*x+5*x^2)/((1-2*x)*(1-x)^2). (End)
a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3). - Vincenzo Librandi, Jul 05 2012
E.g.f.: 5*exp(2*x) - 4*(1+x)*exp(x). - G. C. Greubel, Mar 12 2020
EXAMPLE
a(3) = 24 = sum of row 4 terms of A131063: (1 + 11 + 11 + 1).
a(3) = 24 = (1, 3, 3, 1) dot (1, 1, 5, 5).
MAPLE
a := proc (n) options operator, arrow; 5*2^n-4*n-4 end proc: seq(a(n), n = 0 .. 30); # Emeric Deutsch, Jun 20 2007
MATHEMATICA
CoefficientList[Series[(1-2x+5x^2)/((1-2x)(1-x)^2), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 05 2012 *)
LinearRecurrence[{4, -5, 2}, {1, 2, 8}, 30] (* Harvey P. Dale, Dec 29 2014 *)
PROG
(Magma) I:=[1, 2, 8]; [n le 3 select I[n] else 4*Self(n-1)-5*Self(n-2) + 2*Self(n-3): n in [1..30]]; // Vincenzo Librandi, Jul 05 2012
(GAP) Print(List([0..30], n->5*2^n-4*n-4)); # Muniru A Asiru, Feb 21 2019
(Sage) [5*2^n -4*(n+1) for n in (0..30)] # G. C. Greubel, Mar 12 2020
CROSSREFS
Sequence in context: A083553 A051745 A006734 * A263598 A075218 A006728
KEYWORD
nonn,easy
AUTHOR
Gary W. Adamson, Jun 13 2007
EXTENSIONS
Corrected and extended by Emeric Deutsch, Jun 20 2007
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 June 7 16:42 EDT 2024. Contains 373203 sequences. (Running on oeis4.)