The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A187582 Rank transform of the sequence 3*floor(n/2); complement of A187583. 2

%I

%S 1,3,4,7,8,11,12,14,15,18,19,21,22,25,26,29,30,33,34,36,37,39,40,43,

%T 44,47,48,51,52,55,56,58,59,61,62,65,66,69,70,73,74,77,78,80,81,83,84,

%U 87,88,91,92,94,95,98,99,102,103,105,106,109,110,113,114,117,118,120,121,123,124,127,128,131,132,135,136,138,139,141,142,145,146,149,150,153,154,157,158,160,161

%N Rank transform of the sequence 3*floor(n/2); complement of A187583.

%C See A187224.

%t seqA = Table[3*Floor[n/2], {n, 1, 220}]

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

%t jointRank[{seqA_,

%t seqB_}] := {Flatten@Position[#1, {_, 1}],

%t Flatten@Position[#1, {_, 2}]} &[

%t Sort@Flatten[{{#1, 1} & /@ seqA, {#1, 2} & /@ seqB}, 1]];

%t limseqU =

%t FixedPoint[jointRank[{seqA, #1[[1]]}] &,

%t jointRank[{seqA, seqB}]][[1]] (*A187582*)

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

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

%Y Cf. A187224, A187583.

%K nonn

%O 1,2

%A _Clark Kimberling_, Mar 11 2011

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

Last modified September 26 20:36 EDT 2020. Contains 337374 sequences. (Running on oeis4.)