Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121808
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121808 Say what you see in previous term, reporting each digit encountered followed by frequency. +0
1
1, 11, 12, 1121, 1321, 122131, 132231, 122232, 112431, 13213141, 14213241, 13223142, 12233241, 12233241, 12233241, 12233241, 12233241, 12233241, 12233241, 12233241, 12233241, 12233241 (list; graph; listen)
OFFSET

1,2

FORMULA

Constant at 12233241 after 13 terms.

EXAMPLE

To get the term after 13213141, we say: four 1's, one 2, two 3's, one 4; therefore 14213241 (digit named before frequency).

MATHEMATICA

RunLengthEncode[ x_List ] := (Through[ {First, Length}[ #1 ] ] &) /@ Split@ Sort@x; LookAndSay[ n_, d_:1 ] := NestList[ Flatten[ Reverse /@ RunLengthEncode[ # ] ] &, {d}, n - 1 ]; F[ n_ ] := LookAndSay[ n, 1 ][ [ n ] ]; Table[ FromDigits[ F[ n ] ], {n, 1, 15} ] (* Robert G. Wilson v Sep 11 2006 *)

CROSSREFS

Another variant of A005150, A005151, A063850, etc.

Sequence in context: A056684 A042731 A087304 this_sequence A160265 A007651 A022481

Adjacent sequences: A121805 A121806 A121807 this_sequence A121809 A121810 A121811

KEYWORD

base,easy,nonn

AUTHOR

Ross Presser (rpresser(AT)gmail.com), Sep 09 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 December 18 21:37 EST 2009. Contains 171024 sequences.


AT&T Labs Research