cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A124845 Triangle read by rows: T(n,k) = (3 - (-1)^k)*binomial(n,k)/2 (0 <= k <= n).

This page as a plain text file.
%I A124845 #8 Nov 11 2019 21:49:14
%S A124845 1,1,2,1,4,1,1,6,3,2,1,8,6,8,1,1,10,10,20,5,2,1,12,15,40,15,12,1,1,14,
%T A124845 21,70,35,42,7,2,1,16,28,112,70,112,28,16,1,1,18,36,168,126,252,84,72,
%U A124845 9,2,1,20,45,240,210,504,210,240,45,20,1,1,22,55,330,330,924,462,660,165
%N A124845 Triangle read by rows: T(n,k) = (3 - (-1)^k)*binomial(n,k)/2 (0 <= k <= n).
%e A124845 First few rows of the triangle:
%e A124845   1;
%e A124845   1,  2;
%e A124845   1,  4,  1;
%e A124845   1,  6,  3,  2;
%e A124845   1,  8,  6,  8,  1;
%e A124845   1, 10, 10, 20,  5,  2;
%e A124845   1, 12, 15, 40, 15, 12,  1;
%e A124845   ...
%e A124845 Row 3 sum = 12 = (1 + 6 + 3 + 2) = A003945(3).
%p A124845 T:=(n,k)->(3-(-1)^k)*binomial(n,k)/2: for n from 0 to 12 do seq(T(n,k),k=0..n) od; # yields sequence in triangular form
%Y A124845 Cf. A003945.
%K A124845 nonn,tabl
%O A124845 0,3
%A A124845 _Gary W. Adamson_, Nov 10 2006
%E A124845 Edited by _N. J. A. Sloane_, Nov 24 2006