login
Difference sequence of A325442.
3

%I #6 May 07 2019 19:19:52

%S 1,2,1,3,2,1,2,1,2,1,1,2,2,1,3,2,1,3,2,2,1,1,2,1,3,2,1,2,1,2,1,3,2,1,

%T 2,1,2,1,3,2,2,2,2,1,3,2,1,2,1,2,1,1,2,2,1,3,2,1,3,2,1,2,1,2,1,3,2,1,

%U 3,2,1,1,2,2,1,2,1,2,1,3,2,2,1,1,2,1

%N Difference sequence of A325442.

%C See A325417 for a guide to related sequences. Conjecture: every term is in {1,2,3}.

%H Clark Kimberling, <a href="/A325532/b325532.txt">Table of n, a(n) for n = 1..10000</a>

%t a = {1}; Do[AppendTo[a, NestWhile[# + 1 &, Last[a] + 1, Apply[Or,

%t Map[MemberQ[a, #] &, Select[Flatten[{(#+1)/2, #/3}],

%t IntegerQ]]] &]], {20000}]; a; (* A315442 *)

%t c = Complement[Range[Last[a]], a] ; (* A325443 *)

%t Differences[a] (* A325532 *)

%t Differences[c] (* A325533 *)

%t (* _Peter J. C. Moses_, Apr 23 2019 *)

%Y Cf. A325417, A325442, A325533.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, May 07 2019