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!)
A300953 Number T(n,k) of Dyck paths of semilength n such that 2*k is the difference between the area above the path and the area below the path, measured within the smallest enclosing rectangle based on the x-axis; triangle T(n,k), n>=0, -floor((n-1)^2/4) <= k <= floor((n-1)^2/4), read by rows. 4
1, 1, 2, 1, 2, 2, 2, 0, 7, 0, 5, 1, 2, 3, 6, 7, 8, 6, 6, 3, 2, 0, 9, 0, 20, 0, 35, 0, 34, 0, 25, 0, 7, 1, 2, 4, 8, 10, 17, 23, 30, 38, 43, 46, 48, 42, 41, 26, 26, 12, 8, 4, 2, 0, 11, 0, 29, 0, 63, 0, 115, 0, 176, 0, 238, 0, 255, 0, 230, 0, 169, 0, 92, 0, 41, 0, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
Sum_{k = -floor((n-1)^2/4)..floor((n-1)^2/4)} k * T(n,k) = A300996(n).
T(n,-floor((n-1)^2/4)) = A040001(n).
T(n, floor((n-1)^2/4)) = A026741(n+1) for n > 2.
T(n,k) = 0 iff n is even and k is odd or abs(k) > floor(n*(n-1)/6).
EXAMPLE
.______.
| /\/\ | , rectangle area: 12, above path area: 5,
T(3,-1) = 1: |/____\| , below path area: 7, difference: (5-7) = 2 * (-1).
.
/\
/ \
T(3,0) = 2: / \ /\/\/\ .
.
/\ /\
T(3,1) = 2: / \/\ /\/ \ .
.
Triangle T(n,k) begins:
: 1 ;
: 1 ;
: 2 ;
: 1, 2, 2 ;
: 2, 0, 7, 0, 5 ;
: 1, 2, 3, 6, 7, 8, 6, 6, 3 ;
: 2, 0, 9, 0, 20, 0, 35, 0, 34, 0, 25, 0, 7 ;
: 1, 2, 4, 8, 10, 17, 23, 30, 38, 43, 46, 48, 42, 41, 26, 26, 12, 8, 4 ;
CROSSREFS
Row sums give A000108.
Column k=0 gives A300952.
Sequence in context: A355691 A337474 A104605 * A145740 A138516 A180580
KEYWORD
nonn,tabf
AUTHOR
Alois P. Heinz, Mar 16 2018
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 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)