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.

A300390 The number of paths of length 7*n from the origin to the line y = 3*x/4 with unit east and north steps that stay below the line or touch it.

Original entry on oeis.org

1, 5, 227, 15090, 1182187, 101527596, 9247179818, 877362665128, 85783306955099, 8582893111512001, 874542924575207352, 90437361732467946334, 9467275300762187682554, 1001309098267187214993056, 106836493655355495755649544, 11485688815900189437990930096, 1242964338344397490958154292155
Offset: 0

Views

Author

Bryan T. Ek, Mar 05 2018

Keywords

Comments

Equivalent to nonnegative walks from (0,0) to (7*n,0) with step set [1,3], [1,-4].

Examples

			For n=1, the possible walks are EEEENNN, EEENENN, EENEENN, EEENNEN, EENENEN.
		

Crossrefs

Programs

  • Mathematica
    m = 17; f = 0; Do[f = f^35*t^5 - f^31*t^4 + f^30*t^4 - f^29*t^4 + 5*f^28*t^4 - f^25*t^3 + f^24*t^3 + 3*f^23*t^3 - 4*f^22*t^3 + 10*f^21*t^3 + f^19*t^2 - f^18*t^2 + 5*f^17*t^2 + 3*f^16*t^2 - 6*f^15*t^2 + 10*f^14*t^2 + f^13*t - f^12*t + 3*f^10*t + f^9*t - 4*f^8*t + 5*f^7*t + 1 + O[t]^m, {m}]; CoefficientList[f, t] (* Jean-François Alcover, Feb 18 2019 *)

Formula

G.f. satisfies: f = f^35*t^5 - f^31*t^4 + f^30*t^4 - f^29*t^4 + 5*f^28*t^4 - f^25*t^3 + f^24*t^3 + 3*f^23*t^3 - 4*f^22*t^3 + 10*f^21*t^3 + f^19*t^2 - f^18*t^2 + 5*f^17*t^2 + 3*f^16*t^2 - 6*f^15*t^2 + 10*f^14*t^2 + f^13*t - f^12*t + 3*f^10*t + f^9*t - 4*f^8*t + 5*f^7*t + 1.
From Peter Bala, Jan 03 2019: (Start)
O.g.f.: A(x) = exp( Sum_{n >= 1} (1/7)*binomial(7*n, 3*n)*x^n/n ) - Bizley.
Recurrence: a(0) = 1 and a(n) = (1/n) * Sum_{k = 0..n-1} (1/7)*binomial(7*n-7*k, 3*n-3*k)*a(k) for n >= 1. (End)