The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A191255 Fixed point of the morphism 0 -> 01, 1 -> 02, 2 -> 03, 3 -> 01. 6

%I #22 Sep 21 2018 08:47:03

%S 0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,2,0,1,

%T 0,2,0,1,0,3,0,1,0,2,0,1,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,3,0,1,0,2,

%U 0,1,0,3,0,1,0,2,0,1,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,2,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,1,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,1,0,1,0,2

%N Fixed point of the morphism 0 -> 01, 1 -> 02, 2 -> 03, 3 -> 01.

%C See A191250.

%F a(n) = 0 for odd n; a(n) == A007814(n) (mod 3) for even n. - _Jianing Song_, Sep 21 2018

%t t = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0, 2}, 2 -> {0, 3}, 3 -> {0, 1}}] &, {0}, 9] (* A191255 *)

%t Flatten[Position[t, 0]] (* A005408, the odds *)

%t a = Flatten[Position[t, 1]] (* A067368 *)

%t b = Flatten[Position[t, 2]] (* A213258 *)

%t a/2 (* A191257 *)

%t b/4 (* a/2 *)

%Y Cf. A191250.

%Y Positions of 0 or 3: A191257; positions of 1: A067368; positions of 2: A213258.

%K nonn

%O 1,4

%A _Clark Kimberling_, May 28 2011

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 May 21 05:34 EDT 2024. Contains 372728 sequences. (Running on oeis4.)