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!)
A115718 Inverse of number triangle A115717; a divide-and-conquer related triangle. 1
1, 0, 1, -3, 1, 1, 0, 0, 0, 1, -3, -3, 1, 1, 1, 0, 0, 0, 0, 0, 1, -3, -3, -3, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, -3, -3, -3, -3, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -3, -3, -3, -3, -3, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -3, -3, -3, -3, -3, -3, 1, 1, 1, 1, 1, 1, 1, 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,4
COMMENTS
Product of A115713 and (1/(1-x), x).
Row sums are 1,1,-1,1,-3,1,-5,1,-7,1, ... with g.f. (1+x-3*x^2-x^3)/(1-x^2)^2.
Row sums of inverse are A115716.
LINKS
FORMULA
From G. C. Greubel, Nov 29 2021: (Start)
T(2*n, k) = -3 if (k < n/2) otherwise 1.
T(2*n+1, k) = 0 if (k < n) otherwise 1.
Sum_{k=0..n} T(n, k) = (1/2)*(2 + (1 + (-1)^n)*n) = 1 + A237420(n). (End)
EXAMPLE
Triangle begins
1;
0, 1;
-3, 1, 1;
0, 0, 0, 1;
-3, -3, 1, 1, 1;
0, 0, 0, 0, 0, 1;
-3, -3, -3, 1, 1, 1, 1;
0, 0, 0, 0, 0, 0, 0, 1;
-3, -3, -3, -3, 1, 1, 1, 1, 1;
0, 0, 0, 0, 0, 0, 0, 0, 0, 1;
-3, -3, -3, -3, -3, 1, 1, 1, 1, 1, 1;
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1;
-3, -3, -3, -3, -3, -3, 1, 1, 1, 1, 1, 1, 1;
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1;
-3, -3, -3, -3, -3, -3, -3, 1, 1, 1, 1, 1, 1, 1, 1;
MATHEMATICA
T[n_, k_]:= If[OddQ[n], If[k<n, 0, 1], If[k<n/2, -3, 1]];
Table[T[n, k], {n, 0, 16}, {k, 0, n}]//Flatten (* G. C. Greubel, Nov 29 2021 *)
PROG
(Sage)
def A115718(n, k):
if (n%2==0): return 0 if (k<n) else 1
else: return -3 if (k<n/2) else 1
flatten([[A115718(n, k) for k in (0..n)] for n in (0..15)]) # G. C. Greubel, Nov 29 2021
CROSSREFS
Sequence in context: A115717 A339632 A350879 * A361510 A204181 A204242
KEYWORD
easy,sign,tabl
AUTHOR
Paul Barry, Jan 29 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 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)