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.

A286666 Positions of 0 in A286665; complement of A286667.

This page as a plain text file.
%I A286666 #16 Mar 16 2022 05:50:10
%S A286666 1,3,6,8,11,13,15,18,20,23,25,27,30,32,35,37,40,42,44,47,49,52,54,56,
%T A286666 59,61,64,66,69,71,73,76,78,81,83,85,88,90,93,95,97,100,102,105,107,
%U A286666 110,112,114,117,119,122,124,126,129,131,134,136,139,141,143,146
%N A286666 Positions of 0 in A286665; complement of A286667.
%C A286666 a(n) - a(n-1) is in {2,3} for n>=2. Conjecture: a(n)/n -> 1 + sqrt(2).
%C A286666 This conjecture follows easily from the fact that (a(n)) is a Beatty sequence, see my comments in A286665. - _Michel Dekking_, Mar 11 2018
%C A286666 Numbers with no trailing 0's in their minimal representation in terms of the positive Pell numbers (A317204). - _Amiram Eldar_, Mar 16 2022
%H A286666 Clark Kimberling, <a href="/A286666/b286666.txt">Table of n, a(n) for n = 1..10000</a>
%e A286666 As a word, A286665 = 010110101101010110101101..., in which 0 is in positions 1,3,6,8,11,...
%t A286666 s = Nest[Flatten[# /. {0 -> {0, 0, 1}, 1 -> {0}}] &, {0}, 6] (* A171588 *)
%t A286666 w = StringJoin[Map[ToString, s]]
%t A286666 w1 = StringReplace[w, {"0" -> "01"}]
%t A286666 st = ToCharacterCode[w1] - 48 ; (* A286665 *)
%t A286666 p0 = Flatten[Position[st, 0]];  (* A286666 *)
%t A286666 p1 = Flatten[Position[st, 1]];  (* A286667 *)
%Y A286666 Cf. A171588, A286665, A286667, A317204.
%K A286666 nonn,easy
%O A286666 1,2
%A A286666 _Clark Kimberling_, May 13 2017