login
Starting from 1, successively take the smallest "Choix de Bruxelles" with factor 3 which is not already in the sequence.
1

%I #24 Feb 26 2024 14:45:47

%S 1,3,9,27,67,187,129,43,41,121,17,37,97,277,677,1877,1297,199,133,111,

%T 113,119,139,339,313,311,331,131,191,193,393,333,399,999,933,911,913,

%U 919,319,357,157,57,19,13,11,31,33,39,99,93,91,271,273,279,679,673,671,1871,1291,197,137,117,151,51,53,59,159,153

%N Starting from 1, successively take the smallest "Choix de Bruxelles" with factor 3 which is not already in the sequence.

%C At a given term t, the Choix de Bruxelles with factor 3 can choose to multiply any decimal digit substring (not starting 0) of t by 3 or divide by 3 if that substring is divisible by 3.

%C These choices on substrings give various possible next values and here take the smallest not yet in the sequence.

%C The sequence can be finite if the only choices we have are already in the sequence, but this has not been found in the first 1125299 terms.

%H Alon Vinkler, <a href="/A360703/b360703.txt">Table of n, a(n) for n = 0..10000</a>

%H Eric Angelini, Lars Blomberg, Charlie Neder, Remy Sigrist, and N. J. A. Sloane, <a href="http://arxiv.org/abs/1902.01444">"Choix de Bruxelles": A New Operation on Positive Integers</a>, arXiv:1902.01444 [math.NT], Feb 2019; Fib. Quart. 57:3 (2019), 195-200.

%H Alon Vinkler, <a href="/A360703/a360703_1.txt">C# Program</a>

%e Below, square brackets [] represent multiplication by 3(e.g., [4] = 12); curly brackets {} represent division by 3 (e.g., {6} = 2); digits outside the brackets are not affected by the multiplication or division (e.g., 1[3] = 19 and 1{18} = 16).

%e We begin with 1 and, at each step, we go to the smallest number possible that hasn't yet appeared in the sequence:

%e 1 --> [1] = 3

%e 3 --> [3] = 9

%e 9 --> [9]= 27

%e 27--> [2]7 = 67

%e 67--> [6]7= 187

%e 187 --> 1{87}=129

%e 129 --> {129} = 43

%e ... and so on.

%o (C#) // See Links

%Y Cf. A323286, A358708, A360190.

%K nonn,base

%O 0,2

%A _Alon Vinkler_, Feb 16 2023