Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137748
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137748 Number of different strings of length n obtained from "abcdefgh" by iteratively duplicating any substring. +0
12
0, 0, 0, 0, 0, 0, 0, 0, 1, 8, 43, 196, 814, 3188, 12018 (list; graph; listen)
OFFSET

0,10

COMMENT

See A137743 for more comments.

LINKS

Index entries for doubling substrings

EXAMPLE

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

a(8) = 1 = # { abcdefgh },

a(9) = 8 = # { aabcdefgh, abbcdefgh, abccdefgh, abcddefgh, abcdeefgh, abcdeffgh, abcdefggh, abcdefghh },

a(10) = (8+1)*(8+2)/2-2 = 43: for each letter we have one string of the form aaabcdefgh;

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

and for each of ab,bc,cd,...,gh we have the string with this substring duplicated (ababcdefgh,...,abcdefghgh).

PROGRAM

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

CROSSREFS

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

Adjacent sequences: A137745 A137746 A137747 this_sequence A137749 A137750 A137751

Sequence in context: A036647 A000429 A055853 this_sequence A005024 A094865 A122880

KEYWORD

more,nonn

AUTHOR

M. F. Hasler (MHasler(AT)univ-ag.fr), Feb 10 2008

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 November 8 07:45 EST 2009. Contains 166143 sequences.


AT&T Labs Research