login
Difference sequence of A325540.
3

%I #7 Jul 13 2019 00:42:56

%S 2,3,1,4,1,1,5,1,2,2,7,1,2,2,1,1,6,4,1,3,2,1,1,2,2,2,5,1,4,1,6,1,2,2,

%T 1,1,2,3,1,2,2,6,1,1,4,1,7,4,1,3,3,1,2,2,1,1,5,1,2,2,1,5,2,2,2,1,1,5,

%U 1,4,7,1,4,1,1,5,1,4,1,3,2,1,1,2,2,7

%N Difference sequence of A325540.

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

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

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

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

%t IntegerQ]]] &]], {200}]; a (* A325539 *)

%t Complement[Range[Last[a]], a] (* A325540 *)

%t Differences[a] (* A325541 *)

%t Differences[c] (* A325542 *)

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

%Y Cf. A325417, A325540, A325541.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, May 07 2019