OFFSET
1,2
COMMENTS
T(n,k) is the number of paths from node 0 to odd k in a directed graph with 2n+1 vertices labeled 0, 1, ..., 2n+1 and edges leading from i to i+1 for all i, from i to i+2 for even i, and from i to i-2 for odd i. - Grace Work, Mar 01 2020
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1275
E. Krom and M. M. Roughan, Path Counting and Eulerian Numbers, Girls' Angle Bulletin, Vol. 13, No. 3 (2020), 8-10.
FORMULA
As a square array, n >= 0, k >= 1, read by descending antidiagonals, A(n,k) = k * 2^n. - Peter Munn, Sep 22 2022
G.f.: x*y/( (1-x)^2 * (1-2*x*y) ). - Kevin Ryde, Sep 24 2022
EXAMPLE
First few rows of the triangle are:
1;
2, 2;
3, 4, 4;
4, 6, 8, 8;
5, 8, 12, 16, 16;
6, 10, 16, 24, 32, 32;
7, 12, 20, 32, 48, 64, 64;
...
From Peter Munn, Sep 22 2022: (Start)
As a square array, showing top left:
1, 2, 3, 4, 5, 6, 7, ...
2, 4, 6, 8, 10, 12, 14, ...
4, 8, 12, 16, 20, 24, 28, ...
8, 16, 24, 32, 40, 48, 56, ...
16, 32, 48, 64, 80, 96, 112, ...
32, 64, 96, 128, 160, 192, 224, ...
...
(End)
MATHEMATICA
Table[(n - k + 1)*2^(k - 1), {n, 11}, {k, n}] // Flatten (* Michael De Vlieger, Mar 23 2020 *)
PROG
(PARI) T(n, k)={(n - k + 1)*2^(k-1)} \\ Andrew Howroyd, Mar 01 2020
CROSSREFS
KEYWORD
AUTHOR
Gary W. Adamson, May 11 2007
EXTENSIONS
Name clarified by Grace Work, Mar 01 2020
Terms a(56) and beyond from Andrew Howroyd, Mar 01 2020
STATUS
approved