The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A174301 A symmetrical triangle: T(n,k) = binomial(n, k)*if(floor(n/2) greater than or equal to k then 4^k, otherwise 4^(n-k)). 3
1, 1, 1, 1, 8, 1, 1, 12, 12, 1, 1, 16, 96, 16, 1, 1, 20, 160, 160, 20, 1, 1, 24, 240, 1280, 240, 24, 1, 1, 28, 336, 2240, 2240, 336, 28, 1, 1, 32, 448, 3584, 17920, 3584, 448, 32, 1, 1, 36, 576, 5376, 32256, 32256, 5376, 576, 36, 1, 1, 40, 720, 7680, 53760, 258048, 53760, 7680, 720, 40, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Row sums are: {1, 2, 10, 26, 130, 362, 1810, 5210, 26050, 76490, ...}.
LINKS
FORMULA
T(n, m) = binomial(n, m)*if(floor(n/2) greater than or equal to m then 4^m, otherwise 4^(n-m)).
EXAMPLE
Triangle begins:
1;
1, 1;
1, 8, 1;
1, 12, 12, 1;
1, 16, 96, 16, 1;
1, 20, 160, 160, 20, 1;
1, 24, 240, 1280, 240, 24, 1;
1, 28, 336, 2240, 2240, 336, 28, 1;
1, 32, 448, 3584, 17920, 3584, 448, 32, 1;
1, 36, 576, 5376, 32256, 32256, 5376, 576, 36, 1;
1, 40, 720, 7680, 53760, 258048, 53760, 7680, 720, 40, 1;
MATHEMATICA
Table[Binomial[n, m]*If[Floor[n/2]>=m , 4^m, 4^(n-m)], {n, 0, 10}, {m, 0, n} ]//Flatten
PROG
(PARI) {T(n, k) = binomial(n, k)*if(floor(n/2)>=k, 4^k, 4^(n-k))}; \\ G. C. Greubel, Apr 15 2019
(Magma) [[Floor(n/2) ge k select 4^k*Binomial(n, k) else 4^(n-k)*Binomial(n, k): k in [0..n]]: n in [0..10]]; // G. C. Greubel, Apr 15 2019
(Sage)
def T(n, k):
if floor(n/2)>=k: return 4^k*binomial(n, k)
else: return 4^(n-k)*binomial(n, k)
[[T(n, k) for k in (0..n)] for n in (0..10)] # G. C. Greubel, Apr 15 2019
CROSSREFS
T(2n,n) gives A098430.
Sequence in context: A168643 A173742 A146881 * A174378 A131067 A157170
KEYWORD
nonn,tabl
AUTHOR
Roger L. Bagula, Mar 15 2010
EXTENSIONS
Edited by G. C. Greubel, Apr 15 2019
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 May 21 13:44 EDT 2024. Contains 372738 sequences. (Running on oeis4.)