login
Rank transform of the sequence floor(9n/5); complement of A187348.
2

%I #10 Feb 10 2014 21:26:51

%S 1,3,5,7,9,11,13,15,17,19,20,23,24,27,28,30,32,34,36,38,40,42,44,46,

%T 48,49,51,54,56,57,59,61,63,65,67,69,71,73,75,77,78,80,82,85,87,88,90,

%U 92,94,96,98,100,102,104,106,107,109,111,113,116,117,119,121,123,125

%N Rank transform of the sequence floor(9n/5); complement of A187348.

%C See A187224.

%t seqA=Table[Floor[9n/5], {n, 1, 220}] (* A187318 *)

%t seqB=Table[n, {n, 1, 220}]; (* A000027 *)

%t jointRank[{seqA_, seqB_}]:={Flatten@Position[#1, {_, 1}], Flatten@Position[#1, {_, 2}]}&[Sort@Flatten[{{#1, 1}&/@seqA, {#1, 2}&/@seqB}, 1]];

%t limseqU=FixedPoint[jointRank[{seqA, #1[[1]]}]&, jointRank[{seqA, seqB}]][[1]] (* A187349 *)

%t Complement[Range[Length[seqA]], limseqU] (* A187350 *)

%t (* by _Peter J. C. Moses_, Mar 07 2011 *)

%Y Cf. A187224, A187350.

%K nonn

%O 1,2

%A _Clark Kimberling_, Mar 08 2011