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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137747 Number of different strings of length n obtained from "abcdefg" by iteratively duplicating any substring. 3
0, 0, 0, 0, 0, 0, 0, 1, 7, 34, 143, 555, 2050, 7343, 25809 (list; graph; refs; listen; history; internal format)
OFFSET

0,9

COMMENTS

See A137743 for more comments.

LINKS

Index entries for doubling substrings

EXAMPLE

a(k) = 0 for k<7, since no shorter string can be obtained by duplication of substrings.

a(7) = 1 = # { abcdefg },

a(8) = 7 = # { aabcdefg, abbcdefg, abccdefg, abcddefg, abcdeefg, abcdeffg, abcdefgg },

a(9) = 8*(8+1)/2-2 = 34: for each letter we have one string of the form aaabcdefg;

for each 2-element subset {a,b}, {a,c},... we have the string with each of these two letters duplicated (i.e. aabbcdefg, aabccdefg,...),

and for each of ab,bc,cd,...,fg we have the string with this substring duplicated (ababcdefg,...,abcdefgfg).

(see A137746 for the pattern)

PROG

(PARI) A135473(14, 7) /*function defined in A137743*/

CROSSREFS

Cf. A137740-A137743, A135473, A137744-A137748.

Sequence in context: A055852 A122611 A014915 * A094256 A005023 A094891

Adjacent sequences:  A137744 A137745 A137746 * A137748 A137749 A137750

KEYWORD

more,nonn

AUTHOR

M. F. Hasler (www.univ-ag.fr/~mhasler), Feb 10 2008

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 16 21:51 EST 2012. Contains 205978 sequences.