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.

A285659 Positions of 1 in A285657; complement of A285658.

This page as a plain text file.
%I A285659 #4 May 02 2017 10:52:14
%S A285659 1,3,4,5,6,7,9,10,11,13,14,15,17,18,19,21,22,23,25,26,27,28,29,31,32,
%T A285659 33,35,36,37,39,40,41,42,43,45,46,47,49,50,51,53,54,55,56,57,59,60,61,
%U A285659 63,64,65,67,68,69,70,71,73,74,75,77,78,79,81,82,83,84
%N A285659 Positions of 1 in A285657; complement of A285658.
%C A285659 Conjecture:  a(n)/n -> (1 + sqrt(17))/4.
%H A285659 Clark Kimberling, <a href="/A285659/b285659.txt">Table of n, a(n) for n = 1..10000</a>
%e A285659 As a word, A285657 = 101111101..., in which 1 is in positions 1,3,4,5,6,7,9,...
%t A285659 s = Nest[Flatten[# /. {0 -> {1, 1}, 1 -> {1, 0, 1, 1}}] &, {0}, 10] (* A285657 *)
%t A285659 u = Flatten[Position[s, 0]]  (* A285658 *)
%t A285659 Flatten[Position[s, 1]]   (* A285659 *)
%Y A285659 Cf. A285657, A285658.
%K A285659 nonn,easy
%O A285659 1,2
%A A285659 _Clark Kimberling_, May 01 2017