Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089973
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089973 Number of maximum-length 2-surprising sequences in n symbols. +0
2
1, 6, 24, 48, 25440, 554400 (list; graph; listen)
OFFSET

1,2

COMMENT

A sequence of symbols is 2-surprising if, for every pair of symbols X and Y, not necessarily distinct, and every distance D, there is at most one position in t he sequence where X precedes Y by distance D. The maximum lengths are given in A0899 72.

REFERENCES

Dennis E. Shasha, Puzzling Adventures, Scientific American 289(#12, 2003), 22.

EXAMPLE

The 2-surprising sequences in 3 symbols are:

(2012100) (1021200) (1120210) (2011210) (1202210) (2210120) (2101120) (1022120)

(2100201) (0021201) (0212201) (2102011) (0120211) (2010021) (2201021) (0122021)

(1200102) (0121102) (0012102) (1020012) (0211012) (1102012) (1201022) (0210122)

Thus a(3)=24.

CROSSREFS

Cf. A008062.

Sequence in context: A000056 A083170 A087081 this_sequence A033581 A009943 A028595

Adjacent sequences: A089970 A089971 A089972 this_sequence A089974 A089975 A089976

KEYWORD

nonn

AUTHOR

John W. Layman (layman(AT)math.vt.edu), Nov 17 2003

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research