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!)
A187580 Rank transform of the sequence 2*floor(n/2); complement of A187581. 2

%I #6 Dec 04 2016 19:46:24

%S 1,3,4,6,7,9,10,13,14,16,17,19,20,22,23,25,26,29,30,32,33,35,36,39,40,

%T 42,43,45,46,48,49,51,52,55,56,58,59,61,62,64,65,67,68,71,72,74,75,77,

%U 78,81,82,84,85,87,88,90,91,93,94,97,98,100,101,103,104,107,108,110,111,113,114,116,117,119,120,123,124,126,127,129,130,132,133,135

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

%C See A187224.

%t seqA = Table[2*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]] (*A187580*)

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

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

%Y Cf. A187224, A187579.

%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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 11:45 EDT 2024. Contains 371278 sequences. (Running on oeis4.)