OFFSET
1,1
COMMENTS
This is the third of four sequences that partition the positive integers. Suppose that u = (u(n)) and v = (v(n)) are increasing sequences of positive integers. Let u' and v' be their (increasing) complements, and consider these four sequences:
(1) v o u, defined by (v o u)(n) = v(u(n));
(2) v' o u;
(3) v o u';
(4) v' o u.
EXAMPLE
(1) v o u = (3, 7, 10, 11, 14, 16, 17, 20, 23, 25, 26, 29, 30, 33, 37, ...) = A360402
(2) v' o u = (1, 4, 9, 13, 19, 22, 24, 31, 36, 40, 42, 49, 51, 58, 64, ...) = A360403
(3) v o u' = (5, 8, 12, 18, 21, 28, 32, 35, 39, 46, 50, 53, 59, 62, 67, ...) = A360404
(4) v' o u' = (2, 6, 15, 27, 34, 45, 55, 60, 69, 81, 91, 96, 108, 114, ...) = A360405
MATHEMATICA
z = 2000; zz = 100;
u = Accumulate[1 + ThueMorse /@ Range[0, 600]]; (* A026430 *)
u1 = Complement[Range[Max[u]], u]; (* A356133 *)
v = u + 2; (* A360392 *)
v1 = Complement[Range[Max[v]], v]; (* A360393 *)
Table[v[[u[[n]]]], {n, 1, zz}] (* A360402 *)
Table[v1[[u[[n]]]], {n, 1, zz} (* A360403 *)
Table[v[[u1[[n]]]], {n, 1, zz}] (* A360404 *)
Table[v1[[u1[[n]]]], {n, 1, zz}] (* A360405 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 01 2023
STATUS
approved