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.

A190552 Positions of 2 in A190549.

This page as a plain text file.
%I A190552 #7 Jul 04 2017 14:38:58
%S A190552 1,6,11,16,18,23,28,30,35,40,42,45,47,52,57,59,64,69,71,76,81,86,88,
%T A190552 93,98,100,105,110,115,117,122,127,129,134,139,141,146,151,156,158,
%U A190552 163,168,170,175,180,185,187,192,197,199,204,209,211,214,216,221,226,228,233,238,240,245,250,255,257,262,267,269,274,279,284,286
%N A190552 Positions of 2 in A190549.
%C A190552 See A190549.
%H A190552 G. C. Greubel, <a href="/A190552/b190552.txt">Table of n, a(n) for n = 1..1000</a>
%t A190552 r = Sqrt[2]; b = 4; c = 1;
%t A190552 f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
%t A190552 t = Table[f[n], {n, 1, 200}] (* A190549 *)
%t A190552 Flatten[Position[t, 0]]          (* A190550 *)
%t A190552 Flatten[Position[t, 1]]          (* A190551 *)
%t A190552 Flatten[Position[t, 2]]          (* A190552 *)
%t A190552 Flatten[Position[t, 3]]          (* A190553 *)
%t A190552 Flatten[Position[t, 4]]          (* A190554 *)
%Y A190552 Cf. A190549.
%K A190552 nonn
%O A190552 1,2
%A A190552 _Clark Kimberling_, May 12 2011