cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A187685 Rank transform of the sequence floor(4n/3); complement of A187686.

This page as a plain text file.
%I A187685 #5 Dec 04 2016 19:46:24
%S A187685 1,3,5,6,8,10,12,13,15,17,19,21,22,24,26,27,29,31,33,34,37,38,40,42,
%T A187685 43,45,47,48,50,52,54,55,58,59,61,63,65,66,68,70,71,74,75,76,79,80,82,
%U A187685 84,85,87,89,91,92,95,96,97,100,102,103,105,107,108,110,112,114,116,117,119,121,123,124,126,128,130,131,133,134,137,138,140,142,144
%N A187685 Rank transform of the sequence floor(4n/3); complement of A187686.
%C A187685 See A187224.
%t A187685  seqA = Table[Floor[4n/3], {n, 1, 220}]
%t A187685 seqB = Table[n, {n, 1, 220}];(*A000027*)
%t A187685 jointRank[{seqA_,
%t A187685    seqB_}] := {Flatten@Position[#1, {_, 1}],
%t A187685     Flatten@Position[#1, {_, 2}]} &[
%t A187685   Sort@Flatten[{{#1, 1} & /@ seqA, {#1, 2} & /@ seqB}, 1]];
%t A187685 limseqU =
%t A187685  FixedPoint[jointRank[{seqA, #1[[1]]}] &,
%t A187685    jointRank[{seqA, seqB}]][[1]] (*A187685*)
%t A187685 Complement[Range[Length[seqA]], limseqU]  (*A187686*)
%t A187685 (*by _Peter J. C. Moses_, Mar 12 2011*)
%Y A187685 Cf. A187224, A187686.
%K A187685 nonn
%O A187685 1,2
%A A187685 _Clark Kimberling_, Mar 12 2011