Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #10 Dec 03 2024 12:14:28
%S 1,1,2,6,23,103,518,2868,17263,111925,775994,5719338,44592007,
%T 366259499,3157877470,28492791496,268307662047,2630577754281,
%U 26795670672626,283038010150702,3094882721541239,34977231456293519,407991690851302646,4905431774834649852,60721792897771836879
%N Number of maximal chains in the poset of all n-ary words of length <= n, ordered by B covers A iff A_i <= B_{i+k} for all i in A and some k >= 0.
%e a(3) = 6:
%e () < (1) < (1,1) < (1,1,1),
%e () < (1) < (1,1) < (1,2),
%e () < (1) < (1,1) < (2,1),
%e () < (1) < (2) < (1,2),
%e () < (1) < (2) < (2,1),
%e () < (1) < (2) < (3).
%o (Python)
%o def mchains(n,k): return # See A378588
%o def A378608_list(max_n): return mchains(max_n,max_n)
%Y Cf. A034841, A143672, A282698, A317145, A378382, main diagonal of A378588.
%K nonn,new
%O 0,3
%A _John Tyler Rascoe_, Dec 01 2024