login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A245555 Trajectory of 1 under morphism 1 -> 1,2; 2 -> 2,3; 3 -> 3,1. 2
1, 2, 2, 3, 2, 3, 3, 1, 2, 3, 3, 1, 3, 1, 1, 2, 2, 3, 3, 1, 3, 1, 1, 2, 3, 1, 1, 2, 1, 2, 2, 3, 2, 3, 3, 1, 3, 1, 1, 2, 3, 1, 1, 2, 1, 2, 2, 3, 3, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 1, 2, 3, 3, 1, 3, 1, 1, 2, 3, 1, 1, 2, 1, 2, 2, 3, 3, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The morphism 1->1,2; 2->2,1 gives the {1,2} version of the Thue-Morse sequence A001285, cf. A010060.

The morphism 0->0,1; 1->1,2; 2->2,0 gives the generalized Thue-Morse sequence A071858.

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..10000

Index entries for sequences that are fixed points of mappings

MATHEMATICA

Nest[ Function[ l, {Flatten[(l /. {1 -> {1, 2}, 2 -> {2, 3}, 3 -> {3, 1}})] }], {1}, 9]

PROG

(PARI)  {a(n) = my(v = [1]); if( n<1, 0, while( #v<n, v = concat( vector(#v, i, [[1, 2], [2, 3], [3, 1]] [v[i]]))); v[n])}; /* Michael Somos, Aug 05 2014 */

CROSSREFS

Cf. A001285, A010060, A071858, A092782, A105083, A245553, A245554.

Sequence in context: A152872 A072832 A080328 * A031266 A238459 A109301

Adjacent sequences:  A245552 A245553 A245554 * A245556 A245557 A245558

KEYWORD

nonn

AUTHOR

N. J. A. Sloane, Aug 03 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 18 22:17 EDT 2018. Contains 313840 sequences. (Running on oeis4.)