login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A010757
Sum along upward diagonal of Pascal triangle from center.
3
1, 0, 1, 2, 1, 3, 7, 4, 11, 25, 16, 41, 92, 63, 155, 344, 247, 591, 1300, 967, 2267, 4950, 3785, 8735, 18955, 14820, 33775, 72905, 58060, 130965, 281403, 227612, 509015, 1089343, 892926, 1982269, 4227273, 3505386, 7732659, 16438345, 13770404, 30208749, 64037453
OFFSET
0,4
LINKS
FORMULA
a(n) = A010756(n) + A000984(n/3) if 3|n, otherwise a(n) = A010756(n). - R. J. Mathar, Feb 08 2016
MAPLE
seq(add(binomial(i-k, k), k=ceil(i/3)..floor(i/2)), i=0..50); # Detlef Pauly (dettodet(AT)yahoo.de), Jul 24 2003
PROG
(PARI) a(n) = sum(k=(n+2)\3, n\2, binomial(n-k, k)); \\ Seiichi Manyama, Feb 10 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved