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!)
A265202 Total number of lambda-parking functions induced by all partitions of n into distinct parts. 4

%I #18 Feb 02 2017 10:21:01

%S 1,1,2,6,9,15,36,53,78,119,286,401,591,829,1232,2910,4084,5789,8070,

%T 11281,15823,37747,51622,72919,98986,136600,181648,254638,586891,

%U 799841,1110303,1495279,2018749,2657612,3552560,4738775,10857521,14560375,20061359,26603227

%N Total number of lambda-parking functions induced by all partitions of n into distinct parts.

%H Alois P. Heinz, <a href="/A265202/b265202.txt">Table of n, a(n) for n = 0..400</a>

%H R. Stanley, <a href="http://math.mit.edu/~rstan/transparencies/parking.pdf">Parking Functions</a>, 2011

%e a(0) = 1: [].

%e a(1) = 1: [1].

%e a(2) = 2: [1], [2].

%e a(3) = 6: [1], [2], [3], [1,1], [1,2], [2,1].

%e a(4) = 9: [1], [2], [3], [4], [1,1], [1,2], [1,3], [2,1], [3,1].

%e a(5) = 15: [1], [2], [3], [4], [5], [1,1], [1,2], [1,3], [1,4], [2,1], [2,2], [2,3], [3,1], [3,2], [4,1].

%e a(6) = 36: [1], [2], [3], [4], [5], [6], [1,1], [1,2], [1,3], [1,4], [1,5], [2,1], [2,2], [2,3], [2,4], [3,1], [3,2], [4,1], [4,2], [5,1], [1,1,1], [1,1,2], [1,1,3], [1,2,1], [1,2,2], [1,2,3], [1,3,1], [1,3,2], [2,1,1], [2,1,2], [2,1,3], [2,2,1], [2,3,1], [3,1,1], [3,1,2], [3,2,1].

%p b:= proc(p, g, n, i, t) option remember; `if`(g=0, 0, p!/g!)+

%p `if`(n<t, 0, add(b(p+1, `if`(i=j, g+1, 1), n-max(j, t), j,

%p max(j+1, t+1))/`if`(i=j, 1, g!), j=i..n))

%p end:

%p a:= n-> `if`(n=0, 1, b(0$2, n, 1$2)):

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

%t b[p_, g_, n_, i_, t_] := b[p, g, n, i, t] = If[g==0, 0, p!/g!] + If[n<t, 0, Sum[b[p+1, If[i==j, g+1, 1], n-Max[j, t], j, Max[j+1, t+1]]/If[i==j, 1, g!], {j, i, n}]]; a[n_] := If[n==0, 1, b[0, 0, n, 1, 1]]; Table[a[n], {n, 0, 50}] (* _Jean-François Alcover_, Feb 02 2017, translated from Maple *)

%Y Row sums of A265208.

%Y Cf. A000009, A255047, A265016.

%K nonn

%O 0,3

%A _Alois P. Heinz_, Dec 04 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 April 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)