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.

A190562 Positions of 0 in A190561.

This page as a plain text file.
%I A190562 #9 Jul 04 2017 18:33:35
%S A190562 5,10,17,22,27,29,34,39,46,51,58,63,68,75,80,87,92,97,99,104,109,116,
%T A190562 121,128,133,138,145,150,157,162,167,169,174,179,186,191,196,198,203,
%U A190562 208,215,220,227,232,237,244,249,256,261,266,268,273,278,285,290,297,302,307,314,319,326,331,336,338,343,348,355,360,365,367
%N A190562 Positions of 0 in A190561.
%C A190562 See A190561.
%H A190562 G. C. Greubel, <a href="/A190562/b190562.txt">Table of n, a(n) for n = 1..1000</a>
%t A190562 r = Sqrt[2]; b = 4; c = 3;
%t A190562 f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
%t A190562 t = Table[f[n], {n, 1, 200}] (* A190561 *)
%t A190562 Flatten[Position[t, 0]]          (* A190562 *)
%t A190562 Flatten[Position[t, 1]]          (* A190563 *)
%t A190562 Flatten[Position[t, 2]]          (* A190564 *)
%t A190562 Flatten[Position[t, 3]]          (* A190565 *)
%t A190562 Flatten[Position[t, 4]]          (* A190566 *)
%Y A190562 Cf. A190561.
%K A190562 nonn
%O A190562 1,1
%A A190562 _Clark Kimberling_, May 12 2011