login
Difference sequence of A325420.
3

%I #6 May 06 2019 08:48:22

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

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

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

%N Difference sequence of A325420.

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

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

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

%t IntegerQ]]] &]], {2000}]; a ; (* A325419 *)

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

%t Differences[a] (* A325494 *)

%t Differences[c] (* A325495 *)

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

%Y Cf. A325417, A325494.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 05 2019