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.

A276856 First differences of the Beatty sequence A022840 for sqrt(6).

This page as a plain text file.
%I A276856 #5 Sep 24 2016 10:36:59
%S A276856 2,2,3,2,3,2,3,2,3,2,2,3,2,3,2,3,2,3,2,2,3,2,3,2,3,2,3,2,3,2,2,3,2,3,
%T A276856 2,3,2,3,2,2,3,2,3,2,3,2,3,2,3,2,2,3,2,3,2,3,2,3,2,2,3,2,3,2,3,2,3,2,
%U A276856 3,2,2,3,2,3,2,3,2,3,2,2,3,2,3,2,3,2
%N A276856 First differences of the Beatty sequence A022840 for sqrt(6).
%H A276856 Clark Kimberling, <a href="/A276856/b276856.txt">Table of n, a(n) for n = 1..10000</a>
%F A276856 a(n) = floor(n*r) - floor(n*r - r), where r = sqrt(6), n >= 1.
%t A276856 z = 500; r = Sqrt[6]; b = Table[Floor[k*r], {k, 0, z}] (* A022840 *)
%t A276856 Differences[b] (* A276856 *)
%Y A276856 Cf. A022840, A276872.
%K A276856 nonn,easy
%O A276856 1,1
%A A276856 _Clark Kimberling_, Sep 24 2016