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.
%I A204208 #25 Sep 24 2019 12:15:58 %S A204208 1,4,16,78,404,2208,12492,72589,430569,2596471,15870357,98102191, %T A204208 612222083,3852015239,24408653703,155629858911,997744376239, %U A204208 6427757480074,41590254520410,270163621543421,1761179219680657 %N A204208 Number of length n+1 nonnegative integer arrays starting and ending with 0 with adjacent elements differing by no more than 3. %C A204208 Column 3 of A204213 %C A204208 Number of excursions (walks starting at the origin, ending on the x-axis, and never go below the x-axis in between) with n steps from {-3,-2,-1,0,1,2,3}. - _David Nguyen_, Dec 16 2016 %H A204208 R. H. Hardin, <a href="/A204208/b204208.txt">Table of n, a(n) for n = 1..210</a> %H A204208 C. Banderier, C. Krattenthaler, A. Krinik, D. Kruchinin, V. Kruchinin, D. Nguyen, and M. Wallner, <a href="https://arxiv.org/abs/1609.06473">Explicit formulas for enumeration of lattice paths: basketball and the kernel method</a>, arXiv preprint arXiv:1609.06473 [math.CO], 2016. %F A204208 G.f.: exp( Sum_{n>=1} A025012(n)*x^n/n ) - 1, where A025012(n) = central coefficient of (1+x+x^2+x^3+x^4+x^5+x^6)^n. - _Paul D. Hanna_, Aug 01 2013 %F A204208 a(n) = Sum_{i=1..n}((Sum_{j=0..(3*i)/7}(binomial(i,j)*binomial(-7*j+4*i-1,3*i-7*j)*(-1)^j))*a(n-i))/n. - _Vladimir Kruchinin_, Apr 06 2017 %e A204208 Some solutions for n=5 %e A204208 ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0 %e A204208 ..2....1....3....3....2....2....1....2....0....0....2....3....0....3....1....2 %e A204208 ..5....3....2....2....2....3....1....5....3....0....2....4....3....2....0....3 %e A204208 ..2....6....3....4....0....1....0....6....5....1....0....6....5....2....2....5 %e A204208 ..2....3....3....3....2....3....3....3....2....1....0....3....3....0....3....3 %e A204208 ..0....0....0....0....0....0....0....0....0....0....0....0....0....0....0....0 %t A204208 a[n_] := a[n] = If[n == 0, 1, Sum[(Sum[Binomial[i, j] Binomial[-7j + 4i - 1, 3i - 7j] (-1)^j, {j, 0, (3i)/7}]) a[n - i], {i, 1, n}]/n]; %t A204208 a /@ Range[1, 21] (* _Jean-François Alcover_, Sep 24 2019, after _Vladimir Kruchinin_ *) %o A204208 (PARI) {A025012(n)=polcoeff((1+x+x^2+x^3+x^4+x^5+x^6 +x*O(x^(3*n)))^n,3*n)} %o A204208 {a(n)=polcoeff(exp(sum(m=1,n,A025012(m)*x^m/m)+x*O(x^n)),n)} %o A204208 for(n=0,30,print1(a(n),", ")) \\ _Paul D. Hanna_, Aug 01 2013 %o A204208 (Maxima) %o A204208 a(n):=if n=0 then 1 else sum((sum(binomial(i,j)*binomial(-7*j+4*i-1,3*i-7*j)*(-1)^j,j,0,(3*i)/7))*a(n-i),i,1,n)/n; /* _Vladimir Kruchinin_, Apr 06 2017 */ %K A204208 nonn %O A204208 1,2 %A A204208 _R. H. Hardin_, Jan 12 2012