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!)
A036054 Number of different cycle lengths of the permutation created by length sorting on the partitions of n. 1
1, 1, 1, 2, 2, 2, 2, 3, 4, 4, 5, 5, 6, 5, 4, 6, 8, 7, 7, 6, 12, 9, 7, 8, 10, 6, 11, 12, 10, 8, 9, 10, 13, 12, 14, 10, 16, 9, 10, 11, 10, 10, 8, 10, 10, 18, 14, 22, 10, 15 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,4

LINKS

Table of n, a(n) for n=1..50.

PROG

(PARI)

OrderCycs(v)={my(t=vector(#v), L=List()); for(i=1, #v, my(c=0, j=i); while(!t[j], t[j]=1; j=v[j]; c++); if(c, listput(L, c))); Vec(L)}

a(n)={my(u=vecsort([Vecsmall(Vecrev(p)) | p<-partitions(n)])); my(v=vecsort(u, (x, y)->lex(#x, #y), 1+4)); #Set(OrderCycs(v))} \\ Andrew Howroyd, Sep 17 2019

CROSSREFS

Cf. A036045-A036056.

Sequence in context: A234537 A029126 A269850 * A029102 A241086 A194818

Adjacent sequences:  A036051 A036052 A036053 * A036055 A036056 A036057

KEYWORD

nonn,more

AUTHOR

Olivier Gérard

EXTENSIONS

a(31)-a(50) from Andrew Howroyd, Sep 17 2019

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 March 30 19:43 EDT 2020. Contains 333127 sequences. (Running on oeis4.)