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.

A289036 Positions of 0 in A289035; complement of A289037.

This page as a plain text file.
%I A289036 #4 Jun 27 2017 21:37:39
%S A289036 1,2,4,5,7,8,10,11,12,14,15,17,18,19,21,22,24,25,27,28,29,31,32,34,35,
%T A289036 36,38,39,41,42,44,45,46,48,49,51,52,53,55,56,58,59,60,62,63,65,66,68,
%U A289036 69,70,72,73,75,76,77,79,80,82,83,85,86,87,89,90,92,93
%N A289036 Positions of 0 in A289035; complement of A289037.
%C A289036 Conjecture: a(n)/n->sqrt(2), and -1 < sqrt(2) - a(n)/n < -1 + sqrt(2) for n >= 1.
%H A289036 Clark Kimberling, <a href="/A289036/b289036.txt">Table of n, a(n) for n = 1..10000</a>
%t A289036 z = 10; (* number of iterates *)
%t A289036 s = {0, 0}; w[0] = StringJoin[Map[ToString, s]];
%t A289036 w[n_] := StringReplace[w[n - 1], {"00" -> "0010", "01" -> "010", "10" -> "010"}]
%t A289036 TableForm[Table[w[n], {n, 0, 10}]]
%t A289036 st = ToCharacterCode[w[z]] - 48   (* A289035 *)
%t A289036 Flatten[Position[st, 0]]  (* A289036 *)
%t A289036 Flatten[Position[st, 1]]  (* A289037 *)
%Y A289036 Cf. A289035, A289037.
%K A289036 nonn,easy
%O A289036 1,2
%A A289036 _Clark Kimberling_, Jun 27 2017