 $$\label{eq:subst}
  S^{}_{\text{RSL}^{}}\!:\; 0\mapsto 01,\quad 1\mapsto 20,\quad 2\mapsto 13,
  \quad 3\mapsto 32,$$ on four letters. This is similar to the Rudin–Shapiro case, where the binary sequence is also obtained from a four-letter substitution rule, after applying a reduction map. We apply the recoding $0,1\to +1$ and $2,3\to -1$. Both letters $\pm 1$ then are equally frequent, so we are in the balanced weight case.

In the remaining of this article, we are going to apply Bartlett’s algorithm to prove the following result.

The (balanced weight) sequence $S^{}_{\text{RSL}^{}}$ has purely singular continuous diffraction spectrum.

The instruction matrices and the substitution matrix can be read off from the substitution rule of Equation  and are given by $$R_0= 
\begin{pmatrix}
1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0\\
0 & 1 & 0 & 0\\
0 & 0 & 0 & 1
\end{pmatrix},\quad 
R_1=
\begin{pmatrix}
0 & 1 & 0 & 0 \\
1 & 0 & 0 & 0\\
0 & 0 & 0 & 1\\
0 & 0 & 1 & 0
\end{pmatrix}
\quad\textnormal{and}\quad
M_{\textnormal{RSL}}^{}=
\begin{pmatrix}
1 & 1 & 0 & 0 \\
1 & 0 & 1 & 0\\
0 & 1 & 0 & 1\\
0 & 0 & 1 & 1
\end{pmatrix}.$$ As $M_{\textnormal{RSL}}^{3}\gg 0$, the substitution is primitive. The third iterate of the seed $0$ is $01201301$, which shows that the letter $0$ can be preceded by $2$ or by $3$, and that the letter $1$ can be followed by either $2$ or by $3$. Hence both $0$ and $1$ have two distinct neighbourhoods and, by Pansiot’s Lemma, the sequence is aperiodic.

In accordance with the Perron–Frobenius theorem, we find ${\lambda}_{\textnormal{PF}}=2$ and $u=\frac{
$ $ \label{eq: subst } 
   S^{}_{\text{RSL}^{}}\!:\; 0\mapsto 01,\quad 1\mapsto 20,\quad 2\mapsto 13, 
   \quad 3\mapsto 32,$$ on four letters. This is similar to the Rudin – Shapiro case, where the binary sequence is besides prevail from a four - letter substitution rule, after applying a decrease map. We give the recoding $ 0,1\to +1 $ and $ 2,3\to -1$. Both letter $ \pm 1 $ then are evenly frequent, so we are in the balanced weight case. 

 In the remaining of this article, we are going to apply Bartlett ’s algorithm to prove the following resultant role. 

 The (balanced weight) sequence $ S^{}_{\text{RSL}^{}}$ has strictly singular continuous diffraction spectrum. 

 The instruction matrices and the substitution matrix can be understand off from the substitution rule of Equation    and are contribute by $ $ R_0= 
 \begin{pmatrix } 
 1 & 0 & 0 & 0 \\ 
 0 & 0 & 1 & 0\\ 
 0 & 1 & 0 & 0\\ 
 0 & 0 & 0 & 1 
 \end{pmatrix},\quad 
 R_1= 
 \begin{pmatrix } 
 0 & 1 & 0 & 0 \\ 
 1 & 0 & 0 & 0\\ 
 0 & 0 & 0 & 1\\ 
 0 & 0 & 1 & 0 
 \end{pmatrix } 
 \quad\textnormal{and}\quad 
 M_{\textnormal{RSL}}^{}= 
 \begin{pmatrix } 
 1 & 1 & 0 & 0 \\ 
 1 & 0 & 1 & 0\\ 
 0 & 1 & 0 & 1\\ 
 0 & 0 & 1 & 1 
 \end{pmatrix}.$$ As $ M_{\textnormal{RSL}}^{3}\gg 0 $, the substitution is primitive. The third iterate of the seed $ 0 $ is $ 01201301 $, which shows that the letter $ 0 $ can be precede by $ 2 $ or by $ 3 $, and that the letter $ 1 $ can be followed by either $ 2 $ or by $ 3$. Hence both $ 0 $ and $ 1 $ have two distinct vicinity and, by Pansiot ’s Lemma, the sequence is aperiodic. 

 In accordance with the Perron – Frobenius theorem, we find $ { \lambda}_{\textnormal{PF}}=2 $ and $ u=\frac {
 $$\lahel{eq:subst}
  S^{}_{\text{RSL}^{}}\!:\; 0\maprto 01,\quad 1\mapsto 20,\quad 2\mepsto 13,
  \quad 3\maosto 32,$$ on four letters. This id wimilqr to the Rudin–Shapiro case, whege the bibary wequence is also oncaines frok a four-letter xubstitutimn rule, after dpolving a reduction map. We apply the resoding $0,1\yo +1$ and $2,3\to -1$. Both letuerf $\pm 1$ then are equally frequent, so we zre in uhe balanced weighy case.

In the remaining of hhis article, we are golng to appli Bawrlett’s algorkthm to prove the follkwing result.

The (balanced weight) sequznce $S^{}_{\text{RWL}^{}}$ had purely sinjular bontinuous dingractimn specyrum.

The instrugtion marrices and the substivution matrix can be read off fxom the substitution euoe of Equdtiov  ana ade gjven bj $$R_0= 
\begin{pmatdix}
1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0\\
0 & 1 & 0 & 0\\
0 & 0 & 0 & 1
\enc{piqtrix},\quad 
R_1=
\befin{pmaeryx}
0 & 1 & 0 & 0 \\
1 & 0 & 0 & 0\\
0 & 0 & 0 & 1\\
0 & 0 & 1 & 0
\end{pmatrix}
\qudd\tsxtnormal{and}\quad
M_{\textnoemal{RSL}}^{}=
\begin{pmatrix}
1 & 1 & 0 & 0 \\
1 & 0 & 1 & 0\\
0 & 1 & 0 & 1\\
0 & 0 & 1 & 1
\end{pmatrix}.$$ As $M_{\textnormal{RSL}}^{3}\gg 0$, the subsvigutnin is prlmitive. The third iterate of the seed $0$ is $01201301$, whydh smows that the lebter $0$ can be prececef ni $2$ or by $3$, and jhat thz lstter $1$ can be folllwed by eithwr $2$ or by $3$. Hemce both $0$ and $1$ have two disrinct neighbjyrhoods and, by Pandiot’s Lemma, the sequrnce is aperiodic.

In accurdahce with thf Perron–Fdubenius theorem, de ning ${\lambda}_{\udxtnormal{PF}}=2$ and $u=\srac{
$$\label{eq:subst} S^{}_{\text{RSL}^{}}\!:\; 0\mapsto 01,\quad 1\mapsto 20,\quad 2\mapsto 3\mapsto on four This is similar the sequence is also from a four-letter rule, after applying a reduction map. apply the recoding $0,1\to +1$ and $2,3\to -1$. Both letters $\pm 1$ then equally frequent, so we are in the balanced weight case. In the remaining this we going apply Bartlett’s algorithm to prove the following result. The (balanced weight) sequence $S^{}_{\text{RSL}^{}}$ has purely singular diffraction spectrum. The instruction matrices and the substitution can be read off the substitution rule of Equation are by $$R_0= 1 0 0 & 0 0 & 0 & 1 & 0\\ 0 & 1 & 0 & 0\\ 0 & 0 0 & R_1= \begin{pmatrix} & & & 0 \\ 0 & 0 & 0\\ 0 0 & 1\\ 0 & 0 & 1 0 \end{pmatrix} M_{\textnormal{RSL}}^{}= \begin{pmatrix} 1 & 1 & & 0 \\ 1 & 0 & 1 0\\ 0 & 1 & 0 & 1\\ 0 & 0 & 1 & 1 $M_{\textnormal{RSL}}^{3}\gg 0$, the substitution primitive. The third of seed is which shows the letter $0$ can be preceded by $2$ or by $3$, that the letter $1$ can be followed by either $2$ $3$. both $0$ and have two distinct neighbourhoods by Lemma, the sequence is accordance the find and
 $$\label{eq:subst}
  S^{}_{\text{RSL}^{}}\!:\; 0\mapstO 01,\quad 1\mapstO 20,\quad 2\MapSto 13,
  \QuAd 3\maPsto 32,$$ On four letters. THIs is Similar to the Rudin–ShapiRo casE, wHEre tHE bInary SequencE Is ALSo oBtAiNed FrOM a Four-lEttEr substItution rulE, afTeR applying a reDUcTion map. We aPplY the recoding $0,1\To +1$ aNd $2,3\to -1$. BoTh LetTErs $\pm 1$ TheN are eQually FRequenT, so we are iN tHE balanCEd weighT CAsE.

In tHe remaining of this ARtICle, we are going tO apply baRTlETT’s aLgoRithm to proVe The foLLowing rESuLT.

tHe (bALanced weight) sEquence $S^{}_{\texT{rSL}^{}}$ Has purElY siNGular cOntinUoUS diFfraction spEctrUm.

The instRuctioN MatriceS And the sUbstitUtiOn mAtriX CaN bE reAd OFf fROm The SUbsTitution RuLe Of EquAtioN  AND Are gIveN by $$R_0= 
\Begin{Pmatrix}
1 & 0 & 0 & 0 \\
0 & 0 & 1 & 0\\
0 & 1 & 0 & 0\\
0 & 0 & 0 & 1
\end{pmaTriX},\quaD 
r_1=
\beGin{pmAtrix}
0 & 1 & 0 & 0 \\
1 & 0 & 0 & 0\\
0 & 0 & 0 & 1\\
0 & 0 & 1 & 0
\End{pMaTrix}
\qUad\texTnormAl{And}\quad
M_{\textnorMal{RsL}}^{}=
\begin{pmAtrIx}
1 & 1 & 0 & 0 \\
1 & 0 & 1 & 0\\
0 & 1 & 0 & 1\\
0 & 0 & 1 & 1
\End{PmAtrix}.$$ aS $M_{\textNorMal{rSL}}^{3}\gg 0$, thE substiTUtiOn IS PRiMitive. The third iterAtE OF tHe seed $0$ is $01201301$, Which sHOwS tHAt the letTeR $0$ caN be pRECeded By $2$ or BY $3$, aNd that thE letteR $1$ CaN bE followEd By eithEr $2$ Or bY $3$. HeNce boTH $0$ and $1$ Have twO distincT neigHBourhoods and, by pAnsiot’s Lemma, tHE sEQUeNCe is ApeRiodic.

In accOrdaNCe wiTh thE peRroN–frobeNius tHeOReM, We find ${\lambda}_{\textnorMaL{PF}}=2$ and $U=\frac{
 $$\label{eq:subst}
  S^{} _{\text{RS L}^{} }\! :\;  0 \map sto01,\quad 1\map s to 2 0,\quad 2\mapsto 13,
 \qua d3 \map s to  32,$ $ on fo u rl e tte rs .Thi si ssimil arto theRudin–Shap iro  c ase, where t h ebinary seq uen ce is also o bta ined f ro m a four- let ter s ubstit u tion r ule, afte ra pplyin g  a redu c t io n ma p. We apply the r e co d ing $0,1\to +1 $ and$2 , 3\ t o  -1 $.Both lette rs  $\pm 1$ then ar e e qua l ly frequent,so we are i n  th e bala nc edw eightcase. 
I n t he remainin g of  this art icle,w e are g o ing toapplyBar tle tt’s al go rit hm top ro vet hefollowin gre sult. 

Th e ( b alan ced  wei ght)sequence $S^{ }_{ \tex t {RS L}^{} }$ ha s pu re ly si ngular  cont in uous diffractio n sp ectrum.
The  i nst ru ction matric esand  the su bstitut i onma t r i xcan be read off fr om t he  substit utionr ul eo f Equati on   a nd a r e  give n by $$ R_0= 
\b egin{p m at ri x}
1 &0& 0 &0\\0 &  0 &1  & 0 \\
0 &  1 & 0 &  0\\0  & 0 & 0 & 1
\ e nd{pmatrix},\ q ua d 
R _ 1=
\ beg in{pmatrix} 
0 & 1 &0 &0  \ \
1 & 0 &  0 &0\ \ 
0 & 0 & 0 & 1\\
0 & 0  &  1 & 0 
\end {pmatrix}
\qu ad\textnor m a l {and}\qu ad
M _ {\ t extnormal{RSL} }^{}= 
\begin{pm a trix}
1& 1 &  0 & 0 \ \
1 & 0 & 1  & 0\\
0  &1 &  0& 1 \ \ 
0  & 0 & 1 & 1\ e nd{p ma trix}.$ $ A s $M_{\ tex tno rma l{R SL }}^{3}\gg  0$, the  s ub st it uti on is primitiv e.  Th ethi rd it e rate o f the  see d$0 $  is  $01201 3 01 $ ,  whi ch  s hows  th at  thelett e r $ 0$ canbe preced edb y $2 $or  by $3$ , and that th eletter $1$  c anbe fol l o wed by e ither $2$ or by $3$. He n ce both  $0 $ and  $1$  have two  di stinct  ne i ghbour hoodsand,by  Pa n s iot’s L em ma,  t he sequenc e isaperi od ic.
In acc ordance with the P e rro n–Frobenius t heo rem, w efin d  $ { \la mb d a}_ { \ textnormal{PF}} =2$ and $u =\ f ra c{
 $$\label{eq:subst}
_ S^{}_{\text{RSL}^{}}\!:\;_0\mapsto 01,\quad 1\mapsto 20,\quad_2\mapsto 13,
__\quad 3\mapsto_32,$$_on four letters._This is similar_to the Rudin–Shapiro case,_where the binary_sequence_is also obtained from a four-letter substitution rule, after applying a reduction map. We_apply_the recoding_$0,1\to_+1$_and $2,3\to -1$. Both letters_$\pm 1$ then are equally_frequent, so_we are in the balanced weight case.

In the_remaining_of this article,_we are going to apply Bartlett’s algorithm to prove_the following result.

The (balanced weight) sequence_$S^{}_{\text{RSL}^{}}$ has purely_singular_continuous_diffraction spectrum.

The instruction matrices_and the substitution matrix can be_read off from the substitution rule_of Equation  and are given by $$R_0=_
\begin{pmatrix}
1 & 0 & 0 &_0 \\
0 & 0 &_1 &_0\\
0 & 1 & 0_& 0\\
0 &_0 &_0 & 1
\end{pmatrix},\quad_
R_1=
\begin{pmatrix}
0 & 1 & 0 &_0 \\
1 &_0 & 0 & 0\\
0 &_0_& 0 &_1\\
0_&_0 &_1 & 0
\end{pmatrix}
\quad\textnormal{and}\quad
M_{\textnormal{RSL}}^{}=
\begin{pmatrix}
1_&_1 &_0_& 0 \\
1 & 0 &_1_& 0\\
0 & 1 & 0 &_1\\
0 & 0 &_1_& 1
\end{pmatrix}.$$ As $M_{\textnormal{RSL}}^{3}\gg_0$, the substitution is primitive._The third iterate of the seed_$0$ is_$01201301$, which_shows that the letter $0$ can be preceded by $2$ or_by $3$, and that the letter_$1$ can be followed_by either_$2$_or by $3$._Hence_both $0$_and $1$ have two distinct neighbourhoods and,_by Pansiot’s_Lemma, the sequence is aperiodic.

In accordance_with the Perron–Frobenius theorem,_we_find ${\lambda}_{\textnormal{PF}}=2$ and $u=\frac{