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.

A285343 Positions of 1 in A285341; complement of A285342.

This page as a plain text file.
%I A285343 #8 Apr 25 2017 17:19:41
%S A285343 1,3,4,5,7,9,10,11,13,14,15,17,18,19,21,23,24,25,27,29,30,31,33,34,35,
%T A285343 37,38,39,41,43,44,45,47,48,49,51,52,53,55,57,58,59,61,62,63,65,66,67,
%U A285343 69,71,72,73,75,77,78,79,81,82,83,85,86,87,89,91,92,93
%N A285343 Positions of 1 in A285341; complement of A285342.
%C A285343 Conjecture: -1 < n*sqrt(2) - a(n) < 1 for n>=1.
%H A285343 Clark Kimberling, <a href="/A285343/b285343.txt">Table of n, a(n) for n = 1..10000</a>
%e A285343 As a word, A285341 = 1011101..., in which 1 is in positions 1,3,4,5,7,9,...
%t A285343 s = Nest[Flatten[# /. {0 -> {1, 0}, 1 -> {1, 0, 1, 1}}] &, {0}, 10]; (* A285341 *)
%t A285343 u = Flatten[Position[s, 0]];  (* A285342 *)
%t A285343 Flatten[Position[s, 1]];  (* A285343 *)
%t A285343 u/2 (* A285344)
%Y A285343 Cf. A285341, A285342, A285344.
%K A285343 nonn,easy
%O A285343 1,2
%A A285343 _Clark Kimberling_, Apr 25 2017