login
Positions of 1 in A190698.
6

%I #9 Jul 04 2017 18:49:00

%S 3,7,14,18,22,25,29,33,37,40,44,48,55,59,63,66,70,74,78,81,85,89,93,

%T 96,100,104,111,115,119,122,126,130,134,137,141,145,149,152,156,160,

%U 167,171,175,178,182,186,190,193,197,201,205,208,212,216,223,227,231,234,238,242,246,249,253,257,264,268,272,275,279,283,287,290

%N Positions of 1 in A190698.

%C See A190698.

%H G. C. Greubel, <a href="/A190700/b190700.txt">Table of n, a(n) for n = 1..1000</a>

%t r = Sqrt[3]; b = 4; c = 1;

%t f[n_] := Floor[(b*n + c)*r] - b*Floor[n*r] - Floor[c*r];

%t t = Table[f[n], {n, 1, 200}] (* A190698 *)

%t Flatten[Position[t, 0]] (* A190699 *)

%t Flatten[Position[t, 1]] (* A190700 *)

%t Flatten[Position[t, 2]] (* A190701 *)

%t Flatten[Position[t, 3]] (* A190702 *)

%t Flatten[Position[t, 4]] (* A190703 *)

%t With[{r=Sqrt[3]},Flatten[Position[Table[Floor[r(4n+1)]-4*Floor[r*n]- Floor[r],{n,300}],1]]] (* _Harvey P. Dale_, May 25 2013 *)

%Y Cf. A190698.

%K nonn

%O 1,1

%A _Clark Kimberling_, May 17 2011