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!)
A132922 Row sums of triangle A132921. 2
1, 4, 10, 19, 32, 50, 75, 110, 160, 233, 342, 508, 765, 1168, 1806, 2823, 4452, 7070, 11287, 18090, 29076, 46829, 75530, 121944, 197017, 318460, 514930, 832795, 1347080, 2179178, 3525507, 5703878, 9228520, 14931473, 24159006, 39089428, 63247317, 102335560 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Binomial transform of [1, 3, 3, 0, 1, -1, 2, -3, 5, -8, ...].
From Andrew Howroyd, Aug 28 2018: (Start)
a(n) = 4*a(n-1) - 5*a(n-2) + a(n-3) + 2*a(n-4) - a(n-5) for n > 5.
a(n) = n*(n-1) + Fibonacci(n+2) - 1.
G.f.: x*(1 - x^2 - 2*x^3)/((1 - x)^3*(1 - x - x^2)).
(End)
EXAMPLE
a(4) = 19 = sum of row 4 terms of triangle A132921: (4 + 4 + 5 + 6).
a(5) = 32 = (1, 4, 6, 4, 1) dot (1, 3, 3, 0, 1) = (1 + 12 + 18 + 0 + 1).
MATHEMATICA
LinearRecurrence[{4, -5, 1, 2, -1}, {1, 4, 10, 19, 32}, 50] (* or *)
a[n_]:=n*(n - 1) + Fibonacci[n + 2] - 1; Array[a, 50] (* Stefano Spezia, Sep 01 2018 *)
PROG
(PARI) a(n) = n*(n-1) + fibonacci(n+2) - 1; \\ Andrew Howroyd, Aug 28 2018
(PARI) Vec((1 - x^2 - 2*x^3)/((1 - x)^3*(1 - x - x^2)) + O(x^40)) \\ Andrew Howroyd, Aug 28 2018
CROSSREFS
Cf. A132922.
Sequence in context: A301256 A301092 A009868 * A307276 A008040 A009871
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Sep 05 2007
EXTENSIONS
Terms a(11) and beyond from Andrew Howroyd, Aug 28 2018
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 16 04:38 EDT 2024. Contains 371696 sequences. (Running on oeis4.)