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!)
A115359 Matrix (1,x)-(x,x^2) in Riordan array notation. 10
1, -1, 1, 0, 0, 1, 0, -1, 0, 1, 0, 0, 0, 0, 1, 0, 0, -1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Row sums are 1,0,1,0,1,0... Diagonal sums are A115360. Inverse is A115361.
LINKS
FORMULA
Number triangle T(n, k)=if(n=k, 1, 0) OR if(n=2k+1, -1, 0).
EXAMPLE
Triangle begins:
1;
-1, 1;
0, 0, 1;
0, -1, 0, 1;
0, 0, 0, 0, 1;
0, 0, -1, 0, 0, 1;
0, 0, 0, 0, 0, 0, 1;
0, 0, 0, -1, 0, 0, 0, 1;
0, 0, 0, 0, 0, 0, 0, 0, 1;
0, 0, 0, 0, -1, 0, 0, 0, 0, 1;
...
PROG
(PARI) tabl(nn) = {T = matrix(nn, nn, n, k, n--; k--; if ((n==k), 1, if (n==2*k+1, -1, 0))); for (n=1, nn, for (k=1, n, print1(T[n, k], ", "); ); print(); ); } \\ Michel Marcus, Mar 28 2015
CROSSREFS
Sequence in context: A256538 A074910 A115356 * A117906 A090678 A110037
KEYWORD
easy,sign,tabl
AUTHOR
Paul Barry, Jan 21 2006
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 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)