A337500 a(n) is the number of ballot sequences of length n tied or won by at most 3 votes.
1, 2, 4, 8, 14, 30, 50, 112, 182, 420, 672, 1584, 2508, 6006, 9438, 22880, 35750, 87516, 136136, 335920, 520676, 1293292, 1998724, 4992288, 7696444, 19315400, 29716000, 74884320, 115000920, 290845350, 445962870
Offset: 0
Crossrefs
Formula
Conjecture: D-finite with recurrence -(n+3)*(n-4)*a(n) +2*(n^2-2*n-11)*a(n-1) +4*(n-1)^2*a(n-2) -8*(n-1)*(n-2)*a(n-3)=0. - R. J. Mathar, Sep 27 2020
Comments