login
A317954
Fixed point of the morphism 1 -> 12, 2 -> 13, 3 -> 14, 4 -> 1, starting from a(1) = 1.
2
1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 4, 1, 2
OFFSET
1,2
LINKS
MAPLE
A:= [1]:
for n from 1 while nops(A) < 1000 do
A:= subs([1=(1, 2), 2=(1, 3), 3=(1, 4), 4=1], A)
od:
A; # Robert Israel, Aug 21 2018
MATHEMATICA
Nest[Flatten[#/.{0 -> {0, 1}, 1 -> {1, 2}, 2 -> {2, 0}}] &, {0}, 7] (* G. C. Greubel, Jan 02 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved