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!)
A185963 Row sums of number triangle A185962. 5
1, 0, -2, -3, 0, 7, 11, 1, -24, -40, -7, 82, 145, 37, -279, -524, -174, 945, 1888, 767, -3185, -6783, -3244, 10676, 24301, 13330, -35567, -86823, -53615, 117672, 309366, 212101, -386224, -1099385, -827997, 1255937, 3896480, 3197152, -4039199, -13773374 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
G.f.: (1-x)^2/(1-2x+3x^2-x^3).
a(n) = Sum_{k=0..n} Sum_{i=0..(2k+2)} C(2k+2,i)*Sum_{j=0..(n-k-i)} C(k+j,j)*C(j,n-k-i-j)*(-1)^(n-k-j).
a(n) = Sum_{k=0..n} binomial(n+2k,3k)*(-1)^k = Sum_{k=0..n} A109955(n,k)*(-1)^k. - Philippe Deléham, Feb 18 2012
a(n) = A000931(-3*n). - Michael Somos, Sep 18 2012
a(n) = hypergeom([(n+1)/2, n/2+1, -n], [1/3, 2/3], 4/27). - Peter Luschny, Nov 03 2017
EXAMPLE
G.f. = 1 - 2*x^2 - 3*x^3 + 7*x^5 + 11*x^6 + x^7 - 24*x^8 - 40*x^9 + ...
MAPLE
a := n -> hypergeom([(n+1)/2, n/2+1, -n], [1/3, 2/3], 4/27):
seq(simplify(a(n)), n=0..39); # Peter Luschny, Nov 03 2017
MATHEMATICA
LinearRecurrence[{2, -3, 1}, {1, 0, -2}, 50] (* Vincenzo Librandi, Feb 18 2012 *)
PROG
(PARI) x='x+O('x^50); Vec((1-x)^2/(1-2*x+3*x^2-x^3)) \\ G. C. Greubel, Jul 23 2017
CROSSREFS
Cf. A000931.
Sequence in context: A341339 A084257 A365803 * A059034 A171023 A120473
KEYWORD
sign,easy
AUTHOR
Paul Barry, Feb 07 2011
EXTENSIONS
More terms from Philippe Deléham, Feb 07 2012
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 May 17 07:15 EDT 2024. Contains 372579 sequences. (Running on oeis4.)