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.

A276858 First differences of the Beatty sequence A022842 for sqrt(8).

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