login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039745 Diameter of symmetric group S_n when generated by (1,2) and (1,2,3,...,n). 3
0, 1, 2, 6, 11, 18, 25, 35, 45, 58, 71 (list; graph; refs; listen; history; internal format)
OFFSET

1,3

COMMENTS

a(n) is smallest number such that every element of S_n can be written as a product of at most a(n) terms each of which is the transposition (1,2) or the n-cycle (1,2,3,...,n).

Comment from Max Alekseyev, Sep 09 2011: The distinction between A039745 and A186783 comes from whether we treat the Cayley graph of the generating set as directed or undirected (alternatively, whether we allow multiplication by inverses of generators when constructing elements). A039745 deals with the directed Cayley graph, while A186783 deals with the undirected one.

EXAMPLE

a(3)=2 because (1,3,2) = (1,2,3)(1,2)

PROG

(Other) (SAGE) def a(n): return PermutationGroup([[(1, 2)], [tuple(1..n)]]).cayley_graph().diameter() [From Max Alekseyev (maxale(AT)gmail.com), Mar 02 2010]

CROSSREFS

See A186783 for another version.

Sequence in context: A081689 A176708 A104813 * A037258 A201993 A024521

Adjacent sequences:  A039742 A039743 A039744 * A039746 A039747 A039748

KEYWORD

hard,nonn,nice,more,changed

AUTHOR

David desJardins (desj(AT)idaccr.org)

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 18:11 EST 2012. Contains 205835 sequences.