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

 

Logo
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
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
Sequence in context: A198185 A197889 A090204 * A212497 A072046 A123609
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 11:38 EDT 2024. Contains 371838 sequences. (Running on oeis4.)