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.

A179185 Rank transform of the sequence floor(n*sqrt(2)); complement of A186543.

This page as a plain text file.
%I A179185 #14 Feb 10 2014 21:30:29
%S A179185 1,3,5,6,9,10,11,14,16,17,19,20,23,24,27,28,30,32,33,35,37,39,40,42,
%T A179185 44,46,48,49,52,53,55,57,58,60,62,64,65,67,69,71,72,75,76,78,80,82,84,
%U A179185 85,87,89,91,93,94,96,98,100,101,103,105,106,109,110,112,114,115,117,119,121,123,124,126,128,130,132,134,136,137,139,141
%N A179185 Rank transform of the sequence floor(n*sqrt(2)); complement of A186543.
%C A179185 See A187224.
%t A179185 m = 2^(1/2);
%t A179185 seqA = Table[Floor[m*n], {n, 1, 180}]  (* A001951 *)
%t A179185 seqB = Table[n, {n, 1, 80}];  (* A000027 *)
%t A179185 jointRank[{seqA_, seqB_}] := {Flatten@Position[#1, {_, 1}],
%t A179185 Flatten@Position[#1, {_, 2}]} &[Sort@Flatten[{{#1, 1} & /@ seqA,{#1, 2} & /@ seqB}, 1]];
%t A179185 limseqU = FixedPoint[jointRank[{seqA, #1[[1]]}] &, jointRank[{seqA, seqB}]][[1]]  (* A179185 *)
%t A179185 Complement[Range[Length[seqA]], limseqU]  (* A186543 *)
%t A179185 (* by _Peter J. C. Moses_, Mar 09 2011 *)
%Y A179185 Cf. A187224, A186543.
%K A179185 nonn
%O A179185 1,2
%A A179185 _Clark Kimberling_, Mar 07 2011