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.

A190547 Positions of 2 in A190544.

This page as a plain text file.
%I A190547 #7 Jul 03 2017 21:16:20
%S A190547 4,9,11,16,21,23,28,33,38,40,45,50,52,57,62,64,69,74,79,81,86,91,93,
%T A190547 98,103,108,110,115,120,122,127,132,134,137,139,144,149,151,156,161,
%U A190547 163,168,173,178,180,185,190,192,197,202,207,209,214,219,221,226,231,233,238,243,248,250,255,260,262,267,272,277,279,284,289,291
%N A190547 Positions of 2 in A190544.
%C A190547 See A190544.
%H A190547 G. C. Greubel, <a href="/A190547/b190547.txt">Table of n, a(n) for n = 1..1000</a>
%t A190547 r = Sqrt[2]; b = 4; c = 0;
%t A190547 f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
%t A190547 t = Table[f[n], {n, 1, 200}] (* A190544 *)
%t A190547 Flatten[Position[t, 0]]      (* A190545 *)
%t A190547 Flatten[Position[t, 1]]      (* A190546 *)
%t A190547 Flatten[Position[t, 2]]      (* A190547 *)
%t A190547 Flatten[Position[t, 3]]      (* A190548 *)
%Y A190547 Cf. A190544.
%K A190547 nonn
%O A190547 1,1
%A A190547 _Clark Kimberling_, May 12 2011