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.

A285678 Positions of 0 in A285677.

This page as a plain text file.
%I A285678 #4 May 11 2017 20:10:28
%S A285678 1,6,8,13,15,18,20,25,27,32,34,37,39,44,46,49,51,56,58,63,65,68,70,75,
%T A285678 77,82,84,87,89,94,96,99,101,106,108,113,115,118,120,125,127,130,132,
%U A285678 137,139,144,146,149,151,156,158,163,165,168,170,175,177,180,182
%N A285678 Positions of 0 in A285677.
%C A285678 A 3-way partition of the positive integers, by positions of 0, 1, 2 in A285677:
%C A285678 A285678: positions of 0; slope t = (4+sqrt(5))/2;
%C A285678 A182761: positions of 1; slope u = (7-sqrt(5))/2;
%C A285678 A285679: positions of 2; slope v = (1+3*sqrt(5))/2;
%C A285678 where 1/t + 1/u + 1/v = 1.  Conjecture:  a(n) - a(n-1) is in {2,3,4,5} for n>=2.
%H A285678 Clark Kimberling, <a href="/A285678/b285678.txt">Table of n, a(n) for n = 1..10000</a>
%t A285678 s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 13] ; (* A003849 *)
%t A285678 w = StringJoin[Map[ToString, s]]
%t A285678 w1 = StringReplace[w, {"0010" -> "2"}]
%t A285678 st = ToCharacterCode[w1] - 48; (* A285677 *)
%t A285678 Flatten[Position[st, 0]];  (* A285678 *)
%t A285678 Flatten[Position[st, 1]];  (* A182761 *)
%t A285678 Flatten[Position[st, 2]];  (* A285679 *)
%Y A285678 Cf. A003849, A284620, A285678, A182761, A285679.
%K A285678 nonn,easy
%O A285678 1,2
%A A285678 _Clark Kimberling_, May 11 2017