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!)
A138057 Triangle read by rows: row n consists of 0 followed by n (n+1)'s with alternating signs. 2
0, 0, -2, 0, -3, 3, 0, -4, 4, -4, 0, -5, 5, -5, 5, 0, -6, 6, -6, 6, -6, 0, -7, 7, -7, 7, -7, 7, 0, -8, 8, -8, 8, -8, 8, -8, 0, -9, 9, -9, 9, -9, 9, -9, 9, 0, -10, 10, -10, 10, -10, 10, -10, 10, -10 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..1325 (rows 0..50 of the triangle, flattened).
FORMULA
T(n,k) = [k>0]*(n+1)*(-1)^k, with n >= 0 and 0 <= k <= n, where [] is the Iverson bracket. - Paolo Xausa, Nov 10 2023
EXAMPLE
From Paolo Xausa, Nov 10 2023: (Start)
Triangle begins:
n\k| 0 1 2 3 4 ...
---+---------------------
0 | 0;
1 | 0, -2;
2 | 0, -3, 3;
3 | 0, -4, 4, -4;
4 | 0, -5, 5, -5, 5;
... (End)
MATHEMATICA
Array[Join[{0}, (-1)^Range[#](#+1)]&, 15, 0] (* Paolo Xausa, Nov 10 2023 *)
CROSSREFS
Cf. A131738.
Sequence in context: A369280 A127449 A328911 * A053727 A265208 A265020
KEYWORD
tabl,sign
AUTHOR
Paul Curtz, May 02 2008
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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)