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.

A190564 Positions of 2 in A190561.

This page as a plain text file.
%I A190564 #7 Jul 04 2017 21:19:19
%S A190564 4,6,11,16,18,23,28,33,35,40,45,47,52,57,62,64,69,74,76,81,86,88,93,
%T A190564 98,103,105,110,115,117,122,127,132,134,139,144,146,151,156,158,161,
%U A190564 163,168,173,175,180,185,187,192,197,202,204,209,214,216,221,226,228,231,233,238,243,245,250,255,257,262,267,272,274,279,284,286
%N A190564 Positions of 2 in A190561.
%C A190564 See A190561.
%H A190564 G. C. Greubel, <a href="/A190564/b190564.txt">Table of n, a(n) for n = 1..1000</a>
%t A190564 r = Sqrt[2]; b = 4; c = 3;
%t A190564 f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
%t A190564 t = Table[f[n], {n, 1, 200}] (* A190561 *)
%t A190564 Flatten[Position[t, 0]]          (* A190562 *)
%t A190564 Flatten[Position[t, 1]]          (* A190563 *)
%t A190564 Flatten[Position[t, 2]]          (* A190564 *)
%t A190564 Flatten[Position[t, 3]]          (* A190565 *)
%t A190564 Flatten[Position[t, 4]]          (* A190566 *)
%Y A190564 Cf. A190561.
%K A190564 nonn
%O A190564 1,1
%A A190564 _Clark Kimberling_, May 12 2011