login
A187835
Rank transform of the sequence floor(3n/2-2/3); complement of A187836.
2
1, 3, 4, 7, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 26, 28, 30, 32, 34, 36, 37, 39, 41, 43, 44, 47, 48, 50, 52, 54, 56, 57, 59, 61, 63, 65, 66, 68, 70, 72, 74, 76, 77, 79, 81, 83, 85, 87, 88, 90, 92, 94, 96, 98, 99, 101, 103, 105, 106, 109, 110, 112, 114, 116, 117, 119, 121, 123, 125, 127, 128, 131, 132, 134, 136, 138, 139, 141, 143, 145, 147, 149
OFFSET
1,2
COMMENTS
A187835 is the rank transform of the sequence A007494 of nonnegative integers congruent to 0 or 2 mod 3. See A187224 for a discussion of rank transforms.
MATHEMATICA
seqA = Table[Floor[3n/2-2/3], {n, 1, 220}]
seqB = Table[n, {n, 1, 220}]; (*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]] (*A187835*)
Complement[Range[Length[seqA]], limseqU] (*A187836*)
(*by Peter J. C. Moses, Mar 13 2011*)
CROSSREFS
Sequence in context: A284658 A286340 A024515 * A184820 A189521 A285346
KEYWORD
nonn
AUTHOR
Clark Kimberling, Mar 13 2011
STATUS
approved