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!)
A187687 Rank transform of the sequence floor(5n/3); complement of A187688. 3

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

%S 1,3,5,7,9,11,12,15,16,18,20,22,24,26,28,29,31,34,35,37,39,41,43,45,

%T 46,48,50,52,54,56,58,60,62,63,65,67,69,71,73,75,77,79,80,82,84,86,88,

%U 90,92,94,96,97,99,101,103,105,107,108,111,113,114,116,118,120,122,124,125,127,130,131,133,135,137,139,141,143,145,146,148,150,152

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

%C See A187224.

%t seqA = Table[Floor[5n/3], {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]] (*A187687*)

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

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

%Y Cf. A187224, A187688.

%K nonn

%O 1,2

%A _Clark Kimberling_, Mar 12 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 April 26 04:03 EDT 2024. Contains 371989 sequences. (Running on oeis4.)