The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A130195 Row sums of triangle A130194. 2
 1, 3, 2, -2, -1, 5, 4, -4, -3, 7, 6, -6, -5, 9, 8, -8, -7, 11, 10, -10, -9, 13, 12, -12, -11, 15, 14, -14, -13, 17, 16, -16, -15, 19, 18, -18, -17, 21, 20, -20, -19, 23, 22, -22, -21, 25, 24, -24, -23, 27, 26, -26, -25, 29, 28, -28, -27, 31, 30, -30, -29, 33 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Index entries for linear recurrences with constant coefficients, signature (1,-2,2,-1,1). FORMULA Row sums of A130194, which is composed of A009531 in every column. a(n) = a(n-1)-2*a(n-2)+2*a(n-3)-a(n-4)+a(n-5). - Colin Barker, Oct 03 2014 G.f.: -x*(x+1)^2/((x-1)*(x^2+1)^2). - Colin Barker, Oct 03 2014 a(n) = (4+(3+(2*n+1)*(-1)^n)*(-1)^((2*n-3-(-1)^n)/4))/4. - Luce ETIENNE, Aug 14 2015 EXAMPLE a(4) = -2 = sum of A130194 row 4 terms: (-4, -1, 2, 1). PROG (PARI) lista(nn) = {vgf = x*(1+x)^2/(1+x^2)^2 + O(x^(nn+1)); m = matrix(nn, nn, i, j, if (i >= j, polcoeff(vgf, i-j+1))); for (n=1, nn, s = sum(k=1, n, m[n, k]); print1(s, ", "); ); } \\ Michel Marcus, Oct 03 2014 (PARI) Vec(-x*(x+1)^2/((x-1)*(x^2+1)^2) + O(x^100)) \\ Colin Barker, Oct 03 2014 CROSSREFS Cf. A130194, A009531. Sequence in context: A239066 A239067 A131015 * A071048 A098054 A075801 Adjacent sequences:  A130192 A130193 A130194 * A130196 A130197 A130198 KEYWORD sign,easy AUTHOR Gary W. Adamson, May 16 2007 EXTENSIONS More terms from Michel Marcus, Oct 03 2014 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 29 01:46 EST 2020. Contains 331328 sequences. (Running on oeis4.)