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.

A361887 a(n) = S(5,n), where S(r,n) = Sum_{k = 0..floor(n/2)} ( binomial(n,k) - binomial(n,k-1) )^r.

Original entry on oeis.org

1, 1, 2, 33, 276, 4150, 65300, 1083425, 20965000, 399876876, 8461219032, 178642861782, 4010820554664, 90684123972156, 2130950905378152, 50560833176021025, 1231721051614138800, 30294218438009039800, 759645100717216142000, 19213764100954274616908, 493269287121905287769776
Offset: 0

Views

Author

Peter Bala, Mar 28 2023

Keywords

Comments

For r a positive integer define S(r,n) = Sum_{k = 0..floor(n/2)} ( binomial(n,k) - binomial(n,k-1) )^r. The present sequence is {S(5,n)}. Gould (1974) conjectured that S(3,n) was always divisible by S(1,n). See A183069 for {S(3,n)/S(1,n)}. In fact, calculation suggests that if r is odd then S(r,n) is always divisible by S(1,n).
a(n) is the total number of 5-tuples of semi-Dyck paths from (0,0) to (n,n-2*j) for j=0..floor(n/2). - Alois P. Heinz, Apr 02 2023

Crossrefs

Cf. A003161 ( S(3,n) ), A003162 ( S(3,n)/S(1,n) ), A183069 ( S(3,2*n-1)/ S(1,2*n-1) ), A361888 ( S(5,n)/S(1,n) ), A361889 ( S(5,2*n-1)/S(1,2*n-1) ), A361890 ( S(7,n) ), A361891 ( S(7,n)/S(1,n) ), A361892 ( S(7,2*n-1)/S(1,2*n-1) ).
Column k=5 of A357824.

Programs

  • Maple
    seq(add( ( binomial(n,k) - binomial(n,k-1) )^5, k = 0..floor(n/2)), n = 0..20);
  • Mathematica
    Table[Sum[(Binomial[n, k] - Binomial[n, k-1])^5, {k,0,Floor[n/2]}], {n,0,20}] (* Vaclav Kotesovec, Aug 27 2023 *)
  • Python
    from math import comb
    def A361887(n): return sum((comb(n,j)*(m:=n-(j<<1)+1)//(m+j))**5 for j in range((n>>1)+1)) # Chai Wah Wu, Mar 25 2025

Formula

a(n) = Sum_{k = 0..floor(n/2)} ( (n - 2*k + 1)/(n - k + 1) * binomial(n,k) )^5.
From Alois P. Heinz, Apr 02 2023: (Start)
a(n) = Sum_{j=0..floor(n/2)} A008315(n,j)^5.
a(n) = Sum_{j=0..n} A120730(n,j)^5.
a(n) = A357824(n,5). (End)
a(n) ~ 2^(5*n + 19/2) / (125 * Pi^(5/2) * n^(9/2)). - Vaclav Kotesovec, Aug 27 2023