Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #4 May 13 2019 01:11:05
%S 4,6,8,12,15,19,22,26,29,31,33,37,40,42,46,49,51,53,57,60,62,66,69,71,
%T 73,77,80,82,86,89,93,96,100,103,105,107,111,114,116,120,123,127,130,
%U 132,134,138,141,143,147,150,154,157,161,164,166,168,172,175,177
%N Positions of 2 in A325599.
%C All the terms of A325599 are in {1,2}, so that A325600 and A325601 are a complementary pair.
%H Clark Kimberling, <a href="/A325601/b325601.txt">Table of n, a(n) for n = 1..10000</a>
%t mex[list_, start_] := (NestWhile[# + 1 &, start, MemberQ[list, #] &]); a = {1}; Do[AppendTo[a, mex[Rest[2 a] + Most[a], Last[a] + 1]], {60}]; a (* A325597 *)
%t c = Complement[Range[Last[a]], a] (* A325598 *)
%t da = Differences[a] (* A325599 *)
%t Flatten[Position[da, 1]] (* A325600 *)
%t Flatten[Position[da, 2]] (* A325601) *)
%t (* _Peter J. C. Moses_, May 07 2019 *)
%Y Cf. A325597, A325599, A325600.
%K nonn,easy
%O 1,1
%A _Clark Kimberling_, May 11 2019