login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A263163 Number of lattice paths starting at {n}^5 and ending when any component equals 0, using steps that decrement one or more components by one. 2

%I #9 Apr 25 2020 14:47:54

%S 1,31,32461,142090291,944362553521,7622403922836151,

%T 68836844233002312181,668865316589763487491811,

%U 6842570537592835194176298241,72725938463068824904583496062671,796079042828286992045143086504942301,8920612967950147759634381671622287341331

%N Number of lattice paths starting at {n}^5 and ending when any component equals 0, using steps that decrement one or more components by one.

%H Alois P. Heinz, <a href="/A263163/b263163.txt">Table of n, a(n) for n = 0..75</a>

%p g():= seq(convert(n, base, 2)[1..5], n=33..63):

%p b:= proc(l) option remember;

%p `if`(l[1]=0, 1, add(b(sort(l-h)), h=g()))

%p end:

%p a:= n-> b([n$5]):

%p seq(a(n), n=0..12);

%t g[] = Table[Reverse[IntegerDigits[n, 2]][[;; 5]], {n, 2^5 + 1, 2^6 - 1}];

%t b[l_] := b[l] = If[l[[1]] == 0, 1, Sum[b[Sort[l - h]], {h, g[]}]];

%t a[n_] := b[Table[n, {5}]];

%t a /@ Range[0, 12] (* _Jean-François Alcover_, Apr 25 2020, after _Alois P. Heinz_ *)

%Y Column k=5 of A263159.

%K nonn

%O 0,2

%A _Alois P. Heinz_, Oct 11 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 21 06:09 EDT 2024. Contains 375345 sequences. (Running on oeis4.)