The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A176307 Triangle T(n,k) = 1 + A176304(k) + A176304(n-k) - A176304(n), read by rows. 4
 1, 1, 1, 1, 2, 1, 1, -11, -11, 1, 1, -23, -36, -23, 1, 1, 187, 162, 162, 187, 1, 1, 781, 966, 954, 966, 781, 1, 1, -7495, -6716, -6518, -6518, -6716, -7495, 1, 1, -45905, -53402, -52610, -52400, -52610, -53402, -45905, 1, 1, 524631, 478724, 471240, 472044, 472044, 471240, 478724, 524631, 1 (list; table; graph; refs; listen; history; text; internal format)
 OFFSET 0,5 COMMENTS Row sums are {1, 2, 4, -20, -80, 700, 4450, -41456, -356232, 3893280, 41666730, ...}. LINKS G. C. Greubel, Rows n = 0..100 of triangle, flattened FORMULA T(n,k) = T(n,n-k) = 2 - A176306(n,k). EXAMPLE Triangle begins as: 1; 1, 1; 1, 2, 1; 1, -11, -11, 1; 1, -23, -36, -23, 1; 1, 187, 162, 162, 187, 1; 1, 781, 966, 954, 966, 781, 1; 1, -7495, -6716, -6518, -6518, -6716, -7495, 1; MAPLE A176304 := proc(n) if n = 0 then 0; else (-1)^n*n*procname(n-1)-1 ; end if; end proc: A176307 := proc(n, m) 1+A176304(m)+A176304(n-m)-A176304(n) ; end proc: # R. J. Mathar, May 04 2013 MATHEMATICA b[n_]:= b[n]= If[n==0, 0, (-1)^n*n*b[n-1] -1]; T[n_, k_]:= T[n, k] = 1 + b[k] + b[n-k] - b[n]; Table[T[n, k], {n, 0, 10}, {k, 0, n}]//Flatten PROG (PARI) b(n) = if(n==0, 0, (-1)^n*n*b(n-1) -1); T(n, k) = 1 - b(n) + b(k) + b(n-k); \\ G. C. Greubel, Nov 26 2019 (Magma) function b(n) if n eq 0 then return 0; else return (-1)^n*n*b(n-1) -1; end if; return b; end function; [1-b(n)+b(k)+b(n-k): k in [0..n], n in [1..10]]; // G. C. Greubel, Nov 26 2019 (Sage) @CachedFunction def b(n): if (n==0): return 0 else: return (-1)^n*n*b(n-1) -1 [[1-b(n)+b(k)+b(n-k) for k in (0..n)] for n in (0..10)] # G. C. Greubel, Nov 26 2019 CROSSREFS Sequence in context: A232266 A234013 A158202 * A197648 A066094 A160625 Adjacent sequences: A176304 A176305 A176306 * A176308 A176309 A176310 KEYWORD sign,tabl AUTHOR Roger L. Bagula, Apr 14 2010 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.

Last modified April 15 05:01 EDT 2024. Contains 371667 sequences. (Running on oeis4.)