Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124677
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124677 Minimal total number of multiplications needed to generate all words of length n in the free monoid on two generators. +0
3
0, 2, 6, 13, 27 (list; graph; listen)
OFFSET

0,2

EXAMPLE

Form a tree with the empty word 0 as the root. Each node has potentially 4 children, corresponding to premultiplication by x or y and postmultiplication by x and y.

Layers 0 through 3 of the tree are as follows (the edges, which just join one layer to the next, have been omitted):

.............0.................

.......x...........y...........

..xx.....xy.....yx....yy.......

xxx xxy xyx yxx xyy yxy yyx yyy

a(n) is the minimal number of edges in a subtree that includes the root and all 2^n nodes at level n.

a(3)=11 because each of xxx,xxy,xyx,xyy,yxx,yxy,yyx,yyy can be obtained in one step from xx,xy,yy; that is, we don't need yx. The corresponding subtree has 2 + 3 + 8 = 13 edges.

a(4) = 27 because one computes successively: 0, x,y, xx,xy,yy, xxx,xyx,xxy,yxy,yyx,yyy, and then all 16 words of length 4.

CROSSREFS

See A075099, A075100 for a different way of counting multiplications. Here we only grow the words one letter at a time.

Sequence in context: A065220 A048094 A031872 this_sequence A034465 A055243 A075632

Adjacent sequences: A124674 A124675 A124676 this_sequence A124678 A124679 A124680

KEYWORD

more,nonn

AUTHOR

njas, Dec 25 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research