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.
%I A276866 #11 Jan 30 2017 02:49:38 %S A276866 4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5, %T A276866 4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5, %U A276866 4,4,4,4,5,4,4,4,5,4,4,4,5,4,4,4,5,4 %N A276866 First differences of the Beatty sequence A004976 for 2 + sqrt(5). %C A276866 (a(n+1)) is the unique fixed point of the substitution 4 -> 4445, 5 -> 44454, since alpha = sqrt(5)-2 satisfies 1/(4+alpha) = alpha. See Allouche and Shallit on characteristic words. - _Michel Dekking_, Jan 30 2017 %D A276866 J.-P. Allouche and J. Shallit, Automatic Sequences, Cambridge Univ. Press, 2003, p. 285. %H A276866 Clark Kimberling, <a href="/A276866/b276866.txt">Table of n, a(n) for n = 1..10000</a> %F A276866 a(n) = floor(n*r) - floor(n*r - r), where r = 2 + sqrt(5), n >= 1. %t A276866 z = 500; r = 2+Sqrt[5]; b = Table[Floor[k*r], {k, 0, z}]; (* A004976 *) %t A276866 Differences[b] (* A276866 *) %Y A276866 Cf. A004976, A276884. %K A276866 nonn,easy %O A276866 1,1 %A A276866 _Clark Kimberling_, Sep 24 2016