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!)
A135838 Triangle read by rows: T(n,k) = 2^floor(n/2)*binomial(n-1,k-1). 3
1, 2, 2, 2, 4, 2, 4, 12, 12, 4, 4, 16, 24, 16, 4, 8, 40, 80, 80, 40, 8, 8, 48, 120, 160, 120, 48, 8, 16, 112, 336, 560, 560, 336, 112, 16, 16, 128, 448, 896, 1120, 896, 448, 128, 16, 32, 288, 1152, 2688, 4032, 4032, 2688, 1152, 288, 32 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Gheorghe Coserea, Rows n = 1..100, flattened
FORMULA
M * Pascal's triangle as infinite lower triangular matrices, where M = a triangle with (1, 2, 2, 4, 4, 8, 8, 16, 16, ...) in the main diagonal and the rest zeros.
Sum_{k=1..n} T(n, k) = A094015(n-1).
From G. C. Greubel, Feb 07 2022: (Start)
T(n, n-k) = T(n, k).
T(n, 1) = A016116(n).
T(n, 2) = 2*A093968(n-1).
T(2*n-1, n) = A059304(n-1).
T(2*n, n) = 2*A069720(n). (End)
EXAMPLE
First few rows of the triangle are:
1;
2, 2;
2, 4, 2;
4, 12, 12, 4;
4, 16, 24, 16, 4;
8, 40, 80, 80, 40, 8;
...
MAPLE
A135838 := proc(n, k)
2^floor(n/2)*binomial(n-1, k-1) ;
end proc:
seq(seq( A135838(n, k), k=1..n), n=1..10) ; # R. J. Mathar, Aug 15 2022
MATHEMATICA
T[n_, k_]:= 2^Floor[n/2]*Binomial[n-1, k-1];
Table[T[n, k], {n, 12}, {k, n}] //Flatten (* G. C. Greubel, Feb 07 2022 *)
PROG
(PARI)
A(n, k) = 2^(n\2)*binomial(n-1, k-1);
concat(vector(10, n, vector(n, k, A(n, k)))) \\ Gheorghe Coserea, May 18 2016
(Sage) flatten([[2^(n//2)*binomial(n-1, k-1) for k in (1..n)] for n in (1..12)]) # G. C. Greubel, Feb 07 2022
CROSSREFS
Sequence in context: A286849 A098069 A173738 * A279966 A349483 A114349
KEYWORD
nonn,tabl,easy
AUTHOR
Gary W. Adamson, Dec 01 2007
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 08:08 EDT 2024. Contains 371782 sequences. (Running on oeis4.)