%I #33 Nov 27 2022 19:48:33
%S 0,2,2,1,1,1,2,0,2,0,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,2,0,2,0,2,0,2,0,
%T 2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
%U 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
%N Generalized ternary Thue-Morse sequence arising from junction numbers problem in base 4.
%C For details (including an explicit formula) see our paper.
%H Max A. Alekseyev, <a href="/A239110/b239110.txt">Table of n, a(n) for n = 0..999</a>
%H Max A. Alekseyev and N. J. A. Sloane, <a href="https://arxiv.org/abs/2112.14365">On Kaprekar's Junction Numbers</a>, arXiv:2112.14365, 2021; Journal of Combinatorics and Number Theory, 2022 (to appear).
%Y Cf. A010060, A239896.
%K nonn
%O 0,2
%A _Max Alekseyev_ and _N. J. A. Sloane_, Mar 27 2014
|