Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A093340
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A093340 a(n) = length of longest string that can be generated by a starting string of 2's and 3's of length n, using the rule described in the Comments lines. +0
3
1, 4, 4, 8, 9, 14, 15, 66, 68, 70, 123, 123, 125, 132, 133, 134, 135, 136, 138, 139 (list; graph; listen)
OFFSET

1,2

COMMENT

Start with an initial string of n numbers s(1), ..., s(n), all = 2 or 3, with s(1) = 2. The rule for extending the string is this:

To get s(i+1), write the string s(1)s(2)...s(i) as xy^k for words x and y (where y has positive length) and k is maximized, i.e. k = the maximal number of repeating blocks at the end of the sequence so far. Then s(i+1) = k if k >=2, but if k=1 you must stop (without writing down the 1).

LINKS

F. J. van de Bult, D. C. Gijswijt, J. P. Linderman, N. J. A. Sloane and A. R. Wilks, A Slow-Growing Sequence Defined by an Unusual Recurrence, J. Integer Sequences, Vol. 10 (2007), #07.1.2.

F. J. van de Bult, D. C. Gijswijt, J. P. Linderman, N. J. A. Sloane and A. R. Wilks, A Slow-Growing Sequence Defined by an Unusual Recurrence [pdf, ps].

EXAMPLE

a(4) = 8, using the starting string 2,3,2,3, which extends to 2,3,2,3,2,2,2,3 of length 8.

a(8) = 66: start = 23222323, end = 232223232223222322322232223232223222322322232223232223222322322332.

CROSSREFS

Cf. A091787, A090822, A093369, A094004, A094005.

Adjacent sequences: A093337 A093338 A093339 this_sequence A093341 A093342 A093343

Sequence in context: A053249 A071339 A101921 this_sequence A046558 A014687 A004024

KEYWORD

nonn,more,nice

AUTHOR

njas, Apr 26 2004

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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research