login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245182 Irregular triangle read by rows: T(n,k) (n>=2, 1<=k<=n) gives number of arrangements of the elements from the multiset M(n, 2) into exactly k disjoint cycles. 2
1, 1, 1, 2, 1, 3, 6, 4, 1, 12, 26, 20, 7, 1, 60, 140, 121, 51, 11, 1, 360, 894, 849, 410, 110, 16, 1, 2520, 6594, 6763, 3634, 1135, 211, 22, 1, 20160, 55152, 60304, 35336, 12404, 2723, 371, 29, 1, 181440, 515808, 595404, 374940, 144613, 36001, 5866, 610, 37, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

2,4

COMMENTS

The multiset M(n, 2) consists of 2 1's and one copy of each of 2..n-1. For example, M(5,2) is the multiset {1,1,2,3,4}. See Griffiths reference for formula. - Andrew Howroyd, Feb 24 2020

LINKS

Table of n, a(n) for n=2..55.

Martin Griffiths, Generating Functions for Extended Stirling Numbers of the First Kind, Journal of Integer Sequences, 17 (2014), #14.6.4.

FORMULA

T(n,k) = Sum_{m=0..k} |Stirling1(n-2, m)| * Sum_{j=0, 2-k+m} binomial(n+j-3, j) * A008284(2-j, k-m) for n >= 2. - Andrew Howroyd, Feb 24 2020

EXAMPLE

Triangle begins:

  1 1

  1 2 1

  3 6 4 1

  12 26 20 7 1

  60 140 121 51 11 1

  360 894 849 410 110 16 1

  2520 6594 6763 3634 1135 211 22 1

...

From Andrew Howroyd, Feb 24 2020: (Start)

For n = 4, arrangements of the multiset {1,1,2,3} into cycles are:

T(4,1) = 3: (1123), (1132), (1213);

T(4,2) = 6: (112)(3), (113)(2), (123)(1), (132)(1), (11)(23) (12)(13);

T(4,3) = 4: (11)(2)(3), (12)(1)(3), (13)(1)(2), (23)(1)(1);

T(4,4) = 1: (1)(1)(2)(3).

(End)

PROG

T(n)={my(P=matrix(3, 3, n, k, #partitions(n-k, k-1))); matrix(n, n, n, k, if(n<2, 0, sum(m=0, k, abs(stirling(n-2, m, 1)) * sum(j=0, 2-k+m, binomial(n+j-3, j)*P[1+2-j, 1+k-m]))))}

{my(A=T(10)); for(n=2, #A, print(A[n, 1..n]))} \\ Andrew Howroyd, Feb 24 2020

CROSSREFS

Cf. A008284, A245183, A245184.

Sequence in context: A193897 A226122 A133904 * A209160 A340406 A257881

Adjacent sequences:  A245179 A245180 A245181 * A245183 A245184 A245185

KEYWORD

nonn,tabf

AUTHOR

N. J. A. Sloane, Jul 17 2014

EXTENSIONS

Terms a(36) and beyond from Andrew Howroyd, Feb 24 2020

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 20 22:22 EDT 2021. Contains 348119 sequences. (Running on oeis4.)