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.

A284395 Positions of 1 in A284394.

This page as a plain text file.
%I A284395 #4 May 03 2017 08:33:12
%S A284395 2,8,17,23,32,41,47,56,62,71,80,86,95,104,110,119,125,134,143,149,158,
%T A284395 164,173,182,188,197,206,212,221,227,236,245,251,260,269,275,284,290,
%U A284395 299,308,314,323,329,338,347,353,362,371,377,386,392,401,410,416,425
%N A284395 Positions of 1 in A284394.
%C A284395 The sequences p = A032766, q = A285395, r = A284396 of positions of 0,1,2, respectively, partition the positive integers.  Let t,u,v be the slopes of p, q, r, respectively.  Then t = 3/2, u = (9+3*sqrt(5))/2, v = (3+3*sqrt(5))/2, and 1/t + 1/u + 1/v = 1.
%H A284395 Clark Kimberling, <a href="/A284395/b284395.txt">Table of n, a(n) for n = 1..10000</a>
%e A284395 As a word, A284394 = 01002001002002001..., in which the positions of 1 are 2,8,17,...
%t A284395 s = Nest[Flatten[# /. {0 -> {0, 1}, 1 -> {0}}] &, {0}, 13]  (* A003849 *)
%t A284395 w = StringJoin[Map[ToString, s]]; w1 = StringReplace[w, {"101" -> "2"}]
%t A284395 st = ToCharacterCode[w1] - 48 (* A284394 *)
%t A284395 Flatten[Position[st, 0]]  (* A032766 *)
%t A284395 Flatten[Position[st, 1]]  (* A284395 *)
%t A284395 Flatten[Position[st, 2]]  (* A284396 *)
%Y A284395 Cf. A003849, A032766, A284394, A284396.
%K A284395 nonn,easy
%O A284395 1,1
%A A284395 _Clark Kimberling_, May 02 2017