Y by akasht
Starting with any
-tuple
,
, of symbols from
, we define a sequence
according to the following rule: If
, then
, where
if
(taking
) and
is the symbol other than
if
. Find all positive integers
for which there exists some integer
such that
.















