login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Trajectory of 3 under repeated application of the morphism sigma: 3 -> 3656, 5 -> 365656, 6 -> 3656656.
14

%I #106 May 16 2022 02:42:28

%S 3,6,5,6,3,6,5,6,6,5,6,3,6,5,6,5,6,3,6,5,6,6,5,6,3,6,5,6,3,6,5,6,6,5,

%T 6,3,6,5,6,5,6,3,6,5,6,6,5,6,3,6,5,6,6,5,6,3,6,5,6,5,6,3,6,5,6,6,5,6,

%U 3,6,5,6,3,6,5,6,6,5,6,3,6,5,6,5,6,3,6,5,6,6,5,6,3,6,5,6,5,6,3,6

%N Trajectory of 3 under repeated application of the morphism sigma: 3 -> 3656, 5 -> 365656, 6 -> 3656656.

%C Versions of this sequence arises in so many different ways in the analysis of the Lonely Queens problem described in A140100-A140103 that it is convenient to define THETA(a,b,c) to be the result of replacing {6,5,3} here by {a,b,c} respectively. - _N. J. A. Sloane_, Mar 19 2019

%C Conjecture 1: This sequence is a compressed version of A140101 (see that entry for details). [This was formerly stated as a theorem, but I am no longer sure I have a proof. - _N. J. A. Sloane_, Sep 29 2018. It is true: see the Dekking et al. paper. - _N. J. A. Sloane_, Jul 22 2019]

%C From _Michel Dekking_, Dec 12 2018: (Start)

%C Let tau be the tribonacci morphism from A092782, but on the alphabet {6,5,3}, i.e., tau(3)=6, tau(5)=63, tau(6)=65. Then tau^3 is given by

%C 3 -> 6563, 5 -> 656365, 6 -> 6563656.

%C Let sigma be the morphism generating (a(n)). Then sigma is conjugate to tau^3 with conjugating word u = 656:

%C (656)^{-1} tau^3(3) 656 = 3656 = sigma(3)

%C (656)^{-1} tau^3(5) 656 = 365656 = sigma(5)

%C (656)^{-1} tau^3(6) 656 = 3656656 = sigma(6).

%C It follows that tau and sigma generate the same language, in particular the frequencies of corresponding letters are equal.

%C Added Mar 03 2019: Since tau and sigma are irreducible morphisms (which means that their incidence matrices are irreducible), all of their fixed points have the same collection of subwords, this is what is called the language of tau, respectively sigma. See Lemma 3 of Allouche et al. (2003) for background.

%C (End)

%C From _N. J. A. Sloane_, Mar 03 2019: (Start)

%C The tribonacci word A092782 is the limit S_oo where f is the morphism 1 -> 12, 2 -> 13, 3 -> 1; S_0 = 1, and S_n = f(S_{n-1}).

%C The present sequence is the limit T_oo where

%C sigma: 3 -> 3656, 5 -> 365656, 6 -> 3656656; T_0 = 3, and T_n = sigma(T_{n-1}).

%C Conjecture 2: For all k=0,1,2,..., the following two finite words are identical:

%C S_{3k+2} with 1,2 mapped to 6,5 respectively, and 3 fixed,

%C T_{k+1} with its initial 3 moved to the end.

%C Example for k=1:

%C S_5 = 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 1, 2, 1, 3,

%C T_2 = 3, 6, 5, 6, 3, 6, 5, 6, 6, 5, 6, 3, 6, 5, 6, 5, 6, 3, 6, 5, 6, 6, 5, 6,

%C Note that S_{3k+2} has length A000073(3k+5) and always ends with a 3.

%C The conjecture would imply that if we omit the initial 3 here, and change 6 to 1, 5 to 2, and leave 3 fixed, we get A092782. Alternatively, if we omit the initial 3 here, and change 6 to 0, 5 to 1, and 3 to 2, we get A080843.

%C (End)

%C From _Michel Dekking_, Mar 11 2019: (Start)

%C Proof of Conjecture 2.

%C It is convenient to apply the letter to letter map 1->6, 2->5, 3->3 from the start, which changes f^3 to tau^3. Let alpha := tau^3.

%C We prove by induction that 3 alpha^n(3) = sigma^n(3) 3.

%C This is true for n=1: 3 alpha(3) = 3 6563 = sigma(3) 3.

%C The conjugation observation in my comment from December 12 implies that for all words w from the language of tau:

%C alpha(w) 656 = 656 sigma(w).

%C Applying this with the word w = alpha^n(3) yields

%C 3 alpha^{n+1}(3) 656 = 3 656 sigma(alpha^n(3)) =

%C sigma(3 alpha^n(3)) = sigma(sigma^n(3) 3) =

%C sigma^{n+1}(3) 3656,

%C where we used the induction hypothesis in the second line. Removing the 656's at the end completes the induction step.

%C (End)

%C Lengths of runs of 2's in A276788. - _John Keith_, May 15 2022

%H N. J. A. Sloane, <a href="/A275925/b275925.txt">Table of n, a(n) for n = 1..35890</a>

%H J.-P. Allouche, M. Baake, J. Cassaigns, and D. Damanik, <a href="http://arxiv.org/abs/math/0106121">Palindrome complexity</a>, arXiv:math/0106121 [math.CO], 2001; <a href="http://dx.doi.org/10.1016/S0304-3975(01)00212-2">Theoretical Computer Science</a>, 292 (2003), 9-31.

%H F. Michel Dekking, Jeffrey Shallit, and N. J. A. Sloane, <a href="https://www.combinatorics.org/ojs/index.php/eljc/article/view/v27i1p52/8039">Queens in exile: non-attacking queens on infinite chess boards</a>, Electronic J. Combin., 27:1 (2020), #P1.52.

%H <a href="/index/Fi#FIXEDPOINTS">Index entries for sequences that are fixed points of mappings</a>

%F Theorem: The partial sums of the generalized version THETA(r,s,t) (see Comments) are given by the following formula: Sum_{i=1..n} THETA(r,s,t)(i) = r*A276796(n-1) + s*A276797(n-1) + t*A276798(n-1). - _N. J. A. Sloane_, Mar 23 2019

%e The first few generations of the iteration are:

%e 3

%e 3656

%e 365636566563656563656656

%e 3656365665636565636566563656365665636565636566563656656365656365665636563656656\

%e 3656563656656365656365665636563656656365656365665636566563656563656656

%e ...

%t SubstitutionSystem[{3 -> {3, 6, 5, 6}, 5 -> {3, 6, 5, 6, 5, 6}, 6 -> {3, 6, 5, 6, 6, 5, 6}}, {3}, 3] // Last (* _Jean-François Alcover_, Jan 21 2018 *)

%Y Cf. A140100, A140101, A273059, A000073.

%Y See A276790 and A277745 for other versions. See also A276788 and A080843, A092782.

%Y For partial sums see A305373, also A276796, A276797, A276798.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Aug 29 2016