login
First differences of the Beatty sequence A182769 for 2 + sqrt(1/2).
3

%I #14 Apr 10 2021 16:38:56

%S 2,3,3,2,3,3,2,3,3,3,2,3,3,2,3,3,3,2,3,3,2,3,3,2,3,3,3,2,3,3,2,3,3,3,

%T 2,3,3,2,3,3,2,3,3,3,2,3,3,2,3,3,3,2,3,3,2,3,3,3,2,3,3,2,3,3,2,3,3,3,

%U 2,3,3,2,3,3,3,2,3,3,2,3,3,2,3,3,3,2

%N First differences of the Beatty sequence A182769 for 2 + sqrt(1/2).

%H Clark Kimberling, <a href="/A276869/b276869.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = floor(n*r) - floor(n*r - r), where r = 2 + sqrt(1/2), n >= 1.

%t z = 500; r = 2+Sqrt[1/2]; b = Table[Floor[k*r], {k, 0, z}]; (* A182769 *)

%t Differences[b] (* A276869 *)

%Y Cf. A182769, A276888.

%K nonn,easy

%O 1,1

%A _Clark Kimberling_, Sep 24 2016