Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Jun 02 2018 10:37:20
%S 1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,8,216,1800,6600,11880,10296,3432,0,64,
%T 3744,96768,1454160,14460480,102586176,544817856,2237725512,
%U 7268659712,18954982080,40057015680,68941928016,97350892224,122456030112,244967552640
%N Number of Dyck paths of semilength n such that each positive level has exactly seven peaks.
%H Alois P. Heinz, <a href="/A288323/b288323.txt">Table of n, a(n) for n = 0..1000</a>
%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Lattice_path#Counting_lattice_paths">Counting lattice paths</a>
%p b:= proc(n, k, j) option remember;
%p `if`(n=j, 1, add(b(n-j, k, i)*(binomial(i, k)
%p *binomial(j-1, i-1-k)), i=1..min(j+k, n-j)))
%p end:
%p a:= n-> `if`(n=0, 1, b(n, 7$2)):
%p seq(a(n), n=0..40);
%t b[n_, k_, j_] := b[n, k, j] = If[n == j, 1, Sum[b[n - j, k, i]*(Binomial[i, k]*Binomial[j - 1, i - 1 - k]), {i, 1, Min[j + k, n - j]}]];
%t a[n_] := If[n == 0, 1, b[n, 7, 7]];
%t Table[a[n], {n, 0, 40}] (* _Jean-François Alcover_, Jun 02 2018, from Maple *)
%Y Column k=7 of A288318.
%Y Cf. A000108.
%K nonn
%O 0,16
%A _Alois P. Heinz_, Jun 07 2017