OFFSET
1,2
COMMENTS
See A187224.
MATHEMATICA
m = -1+5^(1/2);
seqA = Table[Floor[m*n], {n, 1, 180}] (* A001961 *)
seqB = Table[n, {n, 1, 80}]; (* A000027 *)
jointRank[{seqA_, seqB_}] := {Flatten@Position[#1, {_, 1}],
Flatten@Position[#1, {_, 2}]} &[Sort@Flatten[{{#1, 1} & /@ seqA,
{#1, 2} & /@ seqB}, 1]];
limseqU = FixedPoint[jointRank[{seqA, #1[[1]]}] &, jointRank
[{seqA, seqB}]][[1]] (* A187415 *)
Complement[Range[Length[seqA]], limseqU] (* A187416 *)
(* by Peter J. C. Moses, Mar 09 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 09 2011
STATUS
approved