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.

A287567 Positions of 0 in A287566.

This page as a plain text file.
%I A287567 #4 May 31 2017 21:24:29
%S A287567 1,7,10,16,18,24,25,31,36,37,43,46,51,54,60,61,68,69,75,78,83,86,92,
%T A287567 93,97,103,106,112,114,120,121,127,131,134,140,141,145,151,154,160,
%U A287567 162,168,169,175,180,181,187,190,194,200,201,207,212,213,219,222,227
%N A287567 Positions of 0 in A287566.
%C A287567 a(n) - a(n-1) is in {1,2,3,4,5,6,7} for n >= 1; also, 4n - a(n) is in {0,1,2,3} for n >= 1.  The first 20 numbers 4n - a(n) are 3, 1, 2, 0, 2, 0, 3, 1, 0, 3, 1, 2, 1, 2, 0, 3, 0, 3, 1, 2, with
%C A287567 0 in positions given by A287568,
%C A287567 1 in positions given by A287569,
%C A287567 2 in positions given by A287570,
%C A287567 3 in positions given by A287567.
%H A287567 Clark Kimberling, <a href="/A287567/b287567.txt">Table of n, a(n) for n = 1..10000</a>
%t A287567 s = Nest[Flatten[# /. {0 -> {0, 2, 3, 1}, 1 -> {2, 3, 2, 0}, 2 -> {3, 1, 0, 2}, 3 -> {1, 0, 2, 3}}] &, {0}, 9];   (* A287566 *)
%t A287567 Flatten[Position[s, 0]]; (* A287567 *)
%t A287567 Flatten[Position[s, 1]]; (* A287568 *)
%t A287567 Flatten[Position[s, 2]]; (* A287569 *)
%t A287567 Flatten[Position[s, 3]]; (* A287570 *)
%Y A287567 Cf. A287566, A287568, A287569, A287570.
%K A287567 nonn,easy
%O A287567 1,2
%A A287567 _Clark Kimberling_, May 31 2017