The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A156915 Fixed point of: 4-->1234, 3->123, 2-->12, 1->1 0
 4, 1, 2, 3, 4, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Table of n, a(n) for n=1..105. MATHEMATICA Flatten[NestList[#/.(Thread[#->Range[#]]&[Range[4]])&, {4}, 8]] (* Peter J. C. Moses, Apr 15 2013 *) PROG (PARI) v=[4]; for(n=1, 200, for(i=1, v[n], v=concat(v, i)); v); a(n)=v[n]; CROSSREFS Cf. A073645 Sequence in context: A198185 A197889 A090204 * A212497 A072046 A123609 Adjacent sequences: A156912 A156913 A156914 * A156916 A156917 A156918 KEYWORD nonn AUTHOR Benoit Cloitre, Feb 18 2009 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 1 06:00 EDT 2023. Contains 365812 sequences. (Running on oeis4.)