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!)
A172109 a(n) is the number of ordered partitions of {1,1,2,3,...,n-1}. 3

%I #37 Apr 15 2022 04:42:34

%S 0,2,8,44,308,2612,25988,296564,3816548,54667412,862440068,

%T 14857100084,277474957988,5584100659412,120462266974148,

%U 2772968936479604,67843210855558628,1757952715142990612,48093560991292628228

%N a(n) is the number of ordered partitions of {1,1,2,3,...,n-1}.

%H G. C. Greubel, <a href="/A172109/b172109.txt">Table of n, a(n) for n = 1..400</a>

%H M. Griffiths and I. Mezo, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL13/Griffiths/griffiths11.html">A generalization of Stirling Numbers of the Second Kind via a special multiset</a>, JIS 13 (2010) #10.2.5.

%F For n>=2, T_2(n) = Sum_{m=1..n} Sum_{l=0..m} C(m,l)*C(l+1,2)*(-1)^(m-l)*l^(n-2).

%F G.f.: 1/G(0) -1 where G(k) = 1 - x*(k+2)/( 1 - 2*x*(k+1)/G(k+1) ); (continued fraction). - _Sergei N. Gladkovskii_, Mar 23 2013

%F G.f.: 1/Q(0) -1, where Q(k) = 1 - x*(3*k+2) - 2*x^2*(k+1)*(k+2)/Q(k+1); (continued fraction). - _Sergei N. Gladkovskii_, Oct 03 2013

%F a(n) = Sum_{k=1..n-1} Stirling2(n-1,k)*(k+1)!. - _Karol A. Penson_, Sep 04 2015

%F a(n) ~ n! / (4 * log(2)^(n+1)). - _Vaclav Kotesovec_, Apr 15 2022

%t f[r_, n_]:= Sum[Sum[Binomial[m, l] Binomial[l+r-1, r] (-1)^(m-l) l^(n-r), {l, m}], {m, n}]; Join[{0}, Table[f[2, n], {n,2,30}]]

%o (Magma) [(&+[Factorial(j+1)*StirlingSecond(n-1,j): j in [1..n]]): n in [1..30]]; // _G. C. Greubel_, Apr 14 2022

%o (SageMath) [sum( factorial(j+1)*stirling_number2(n-1,j) for j in (1..n-1) ) for n in (1..30)] # _G. C. Greubel_, Apr 14 2022

%o (PARI) a(n) = sum(k=1, n-1, stirling(n-1,k,2)*(k+1)!); \\ _Michel Marcus_, Apr 14 2022

%Y Row sums of A172106.

%Y Cf. A005649. - _R. J. Mathar_, Jan 28 2010

%Y Cf. A083410.

%K nonn

%O 1,2

%A _Martin Griffiths_, Jan 25 2010

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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)