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.

A190546 Positions of 1 in A190544.

This page as a plain text file.
%I A190546 #9 Jul 04 2017 04:01:40
%S A190546 1,6,8,13,18,20,25,30,32,35,37,42,47,49,54,59,61,66,71,76,78,83,88,90,
%T A190546 95,100,105,107,112,117,119,124,129,131,136,141,146,148,153,158,160,
%U A190546 165,170,175,177,182,187,189,194,199,201,204,206,211,216,218,223,228,230,235,240,245,247,252,257,259,264,269,271,274,276,281
%N A190546 Positions of 1 in A190544.
%C A190546 See A190544.
%H A190546 G. C. Greubel, <a href="/A190546/b190546.txt">Table of n, a(n) for n = 1..1000</a>
%t A190546 r = Sqrt[2]; b = 4; c = 0;
%t A190546 f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
%t A190546 t = Table[f[n], {n, 1, 200}] (* A190544 *)
%t A190546 Flatten[Position[t, 0]]      (* A190545 *)
%t A190546 Flatten[Position[t, 1]]      (* A190546 *)
%t A190546 Flatten[Position[t, 2]]      (* A190547 *)
%t A190546 Flatten[Position[t, 3]]      (* A190548 *)
%Y A190546 Cf. A190544.
%K A190546 nonn
%O A190546 1,2
%A A190546 _Clark Kimberling_, May 12 2011