login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A325601 Positions of 2 in A325599. 5
4, 6, 8, 12, 15, 19, 22, 26, 29, 31, 33, 37, 40, 42, 46, 49, 51, 53, 57, 60, 62, 66, 69, 71, 73, 77, 80, 82, 86, 89, 93, 96, 100, 103, 105, 107, 111, 114, 116, 120, 123, 127, 130, 132, 134, 138, 141, 143, 147, 150, 154, 157, 161, 164, 166, 168, 172, 175, 177 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All the terms of A325599 are in {1,2}, so that A325600 and A325601 are a complementary pair.
LINKS
MATHEMATICA
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 *)
c = Complement[Range[Last[a]], a] (* A325598 *)
da = Differences[a] (* A325599 *)
Flatten[Position[da, 1]] (* A325600 *)
Flatten[Position[da, 2]] (* A325601) *)
(* Peter J. C. Moses, May 07 2019 *)
CROSSREFS
Sequence in context: A334468 A020177 A239439 * A310662 A231569 A337812
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 11 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 10 20:32 EDT 2024. Contains 374214 sequences. (Running on oeis4.)