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.

A190702 Positions of 3 in A190698.

This page as a plain text file.
%I A190702 #7 Jul 04 2017 18:33:58
%S A190702 1,5,9,12,16,20,24,27,31,35,42,46,50,53,57,61,65,68,72,76,83,87,91,94,
%T A190702 98,102,106,109,113,117,121,124,128,132,139,143,147,150,154,158,162,
%U A190702 165,169,173,177,180,184,188,195,199,203,206,210,214,218,221,225,229,233,236,240,244,247,251,255,259,262,266,270,274,277,281
%N A190702 Positions of 3 in A190698.
%C A190702 See A190698.
%H A190702 G. C. Greubel, <a href="/A190702/b190702.txt">Table of n, a(n) for n = 1..1000</a>
%t A190702 r = Sqrt[3]; b = 4; c = 1;
%t A190702 f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];
%t A190702 t = Table[f[n], {n, 1, 200}] (* A190698 *)
%t A190702 Flatten[Position[t, 0]]      (* A190699 *)
%t A190702 Flatten[Position[t, 1]]      (* A190700 *)
%t A190702 Flatten[Position[t, 2]]      (* A190701 *)
%t A190702 Flatten[Position[t, 3]]      (* A190702 *)
%t A190702 Flatten[Position[t, 4]]      (* A190703 *)
%Y A190702 Cf. A190698.
%K A190702 nonn
%O A190702 1,2
%A A190702 _Clark Kimberling_, May 17 2011